Log more than 10 stack frames from Chrome & IE #2894

Closed
opened 2016-03-02 17:06:00 +00:00 by wjt · 4 comments

By default, Error.stack in Chrome and IE only has the last 10 frames of the stack. There's an error that users here hit a lot that I'm having trouble debugging without more than 10 frames of stack trace.

It turns out you can raise the limit by setting Error.stackTraceLimit.

By default, `Error.stack` in Chrome and IE only has the last 10 frames of the stack. There's an error that users here hit a lot that I'm having trouble debugging without more than 10 frames of stack trace. It turns out you can raise the limit by setting `Error.stackTraceLimit`.
wjt added the
frontend
label 2016-03-02 17:06:00 +00:00
wjt added this to the 14.04 milestone 2016-03-02 17:06:00 +00:00
0x2620 was assigned by wjt 2016-03-02 17:06:00 +00:00
wjt added the
normal
defect
labels 2016-03-02 17:06:00 +00:00
Author

Attachment 0002-Raise-Error.stackTraceLimit-if-it-exists-fixes-2894.patch (857 bytes) added

**Attachment** 0002-Raise-Error.stackTraceLimit-if-it-exists-fixes-2894.patch (857 bytes) added
Author

This patch and #2893 also available at https://gitlab.com/wjt/pandora.git branch 2893-2894.

This patch and #2893 also available at <https://gitlab.com/wjt/pandora.git> branch `2893-2894`.
Author

25 frames actually isn't enough for what I'm trying to debug! I guess one just gets to pick a number. I went for 50 (new patch pushed to my branch) but I'm just plucking that out of thin air.

25 frames actually isn't enough for what I'm trying to debug! I guess one just gets to pick a number. I went for 50 (new patch pushed to my branch) but I'm just plucking that out of thin air.
Owner

In 340277d/pandora:

#!CommitTicketReference repository="pandora" revision="340277db1a9baa70d71e4bfa55579f1fb3744cdd"
Raise Error.stackTraceLimit, if it exists (fixes #2894)
In [340277d/pandora](https://code.0x2620.org/0x2620/pandora/commit/340277db1a9baa70d71e4bfa55579f1fb3744cdd): ``` #!CommitTicketReference repository="pandora" revision="340277db1a9baa70d71e4bfa55579f1fb3744cdd" Raise Error.stackTraceLimit, if it exists (fixes #2894) ```
0x2620 added the
fixed
label 2016-03-03 12:46:02 +00:00
j closed this issue 2016-03-03 12:46:02 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#2894
No description provided.