Closed
Bug 566695
Opened 14 years ago
Closed 14 years ago
js_DumpPC for easy printing current code context in gdb
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dherman, Assigned: dherman)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file, 1 obsolete file)
2.08 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
From my current debugging session: (gdb) call js_DumpPC(cx) main: 00000: 1 trace 0 00003: 1 lambda (function (k) {return k;}) 00006: 1 shift --> 00007: 1 pop 00008: 1 lambda (function (k) {return k;}) 00011: 1 shift 00012: 1 pop 00013: 1 int8 42 00015: 1 return 00016: 1 stop $1 = 1 Pretty convenient. Teeny little patch forthcoming. Dave
Assignee | ||
Comment 1•14 years ago
|
||
Updated•14 years ago
|
Attachment #446046 -
Flags: review+
Assignee | ||
Comment 2•14 years ago
|
||
Updated commit message with r=jorendorff.
Attachment #446046 -
Attachment is obsolete: true
Attachment #446050 -
Flags: review?(jorendorff)
Comment 3•14 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/8bbbf1cf4280
Whiteboard: fixed-in-tracemonkey
Updated•14 years ago
|
Attachment #446050 -
Flags: review?(jorendorff) → review+
Comment 4•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/8bbbf1cf4280
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•