Closed
Bug 449467
Opened 16 years ago
Closed 13 years ago
Expose jsdIScript byte codes
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: johnjbarton, Unassigned)
References
Details
As far as I know there is no way to print the byte code or other representation of the compiled Javascript matching a jsdIScript. Mostly this is a good thing, but some Firebug bugs are stuck because I can't tell what the method really should be doing. For example,
http://code.google.com/p/fbug/issues/detail?id=1008
is an example of a function that Firebug causes wrong execution when it single steps through the function. Why? I really don't have a way to work on this. If I could look at the byte codes and the pc while single stepping may be I could get some hints.
Updated•16 years ago
|
Component: General → JavaScript Debugger
Product: Firefox → Other Applications
Version: unspecified → Trunk
Updated•16 years ago
|
QA Contact: general → venkman
Comment 1•16 years ago
|
||
Moving to JSD, but it might be JS Engine. Talk to people who know more than me.
Component: Venkman JS Debugger → JavaScript Debugging APIs
Product: Other Applications → Core
QA Contact: venkman → jsd
Summary: [jsd] Expose jsdIScript byte codes → Expose jsdIScript byte codes
John: you can use windbg, http://developer.mozilla.org/en/How_to_get_a_stacktrace_with_WinDbg to examine the bytecode.
While it's theoretically possible to expose this, I'm not in a hurry to do so. Especially given that the bytecode is not guaranteed to mean anything and given that I don't know how JIT affects this.
Severity: normal → enhancement
Reporter | ||
Comment 3•15 years ago
|
||
Apparently there is a program that gives the byte codes, see for example https://bugzilla.mozilla.org/show_bug.cgi?id=533298#c3
Reporter | ||
Comment 4•15 years ago
|
||
See also Bug 533874 - Implement ast_uneval()/eval_to_ast()
See Also: → 533874
Assignee | ||
Updated•13 years ago
|
Component: JavaScript Debugging/Profiling APIs → JavaScript Engine
Comment 5•13 years ago
|
||
I'm not aware of any current demand for a feature like this.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•