Closed Bug 679796 Opened 13 years ago Closed 13 years ago

js_DumpStackFrame should walk saved frame chains

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: benjamin, Assigned: benjamin)

Details

Attachments

(1 file)

I was trying to use js_DumpStackFrame. But the request/context was suspended, because we suspect contexts whenever we call from JS->XPCOM through xpconnect, which means that the top frame was actually null. This patch changes js_DumpStackFrame to walk suspended frame chains also, which is I think what people will usually want/expect.
Assignee: general → benjamin
Status: NEW → ASSIGNED
Attachment #553834 - Flags: review?(luke)
Comment on attachment 553834 [details] [diff] [review]
Make js_DumpStackFrame traverse saved frame chains, rev. 1

Review of attachment 553834 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks
Attachment #553834 - Flags: review?(luke) → review+
http://hg.mozilla.org/mozilla-central/rev/1d2621d8b963
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: