The default bug view has changed. See this FAQ.

js_DumpStackFrame should walk saved frame chains

RESOLVED FIXED in mozilla9

Status

()

Core
JavaScript Engine
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: bsmedberg, Assigned: bsmedberg)

Tracking

Trunk
mozilla9
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
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)

Comment 1

6 years ago
Created attachment 553834 [details] [diff] [review]
Make js_DumpStackFrame traverse saved frame chains, rev. 1
Assignee: general → benjamin
Status: NEW → ASSIGNED
Attachment #553834 - Flags: review?(luke)

Comment 2

6 years ago
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
Last Resolved: 6 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.