Log more than 10 stack frames from Chrome & IE #2894
Labels
No labels
backend
critical
defect
duplicate
enhancement
fixed
frontend
general
invalid
major
minor
normal
oxjs
pandora_client
python-ox
task
trivial
wontfix
worksforme
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: 0x2620/pandora#2894
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
.Attachment 0002-Raise-Error.stackTraceLimit-if-it-exists-fixes-2894.patch (857 bytes) added
This patch and #2893 also available at https://gitlab.com/wjt/pandora.git branch
2893-2894
.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.
In 340277d/pandora: