JS::FormatStackDump should print out function display names if it can

RESOLVED FIXED in mozilla38

Status

()

Core
JavaScript Engine
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: bz, Assigned: bz)

Tracking

unspecified
mozilla38
x86
Mac OS X
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Right now we get a lot of "anonymous" instead.

I don't know whether we want something similar for js_DumpBacktrace too.  That doesn't try to print out the function name at all right now...
Created attachment 8555444 [details] [diff] [review]
Print out our guessed display name for functions, if we have one, when doing a JS::FormatStackDump (aka DumpJSStack() in xpconnect)
Attachment #8555444 - Flags: review?(jimb)

Updated

4 years ago
Attachment #8555444 - Flags: review?(jimb) → review+
https://hg.mozilla.org/mozilla-central/rev/c12c049eba9d
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in before you can comment on or make changes to this bug.