Closed
Bug 619148
Opened 14 years ago
Closed 6 years ago
Stack traces in release builds.
Categories
(Tamarin Graveyard :: Virtual Machine, enhancement)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: kpalacz, Assigned: kpalacz)
References
Details
Attachments
(1 file)
9.99 KB,
patch
|
Details | Diff | Splinter Review |
The VM maintains enough runtime information to generate AS stack traces even in release builds.
Assignee | ||
Comment 1•14 years ago
|
||
Walks MethodFrames. Tries to lookup names bound to nonmember functions in "static" scopes. Small enhancements to method name formatting.
Assignee: nobody → kpalacz
Assignee | ||
Updated•14 years ago
|
Blocks: rm_DEBUGGER_tracker
Comment 2•14 years ago
|
||
I take it we would get the method names but not line numbers? (no surprise).
Comment 3•14 years ago
|
||
(In reply to comment #2) > I take it we would get the method names but not line numbers? (no surprise). We could get at the line numbers if they existed in the original swf, but currently I don't think it will be straightforward to include this information. We track line numbers by updating a 'status' every time we hit a debugline opcode, which is currently enabled only in debugger builds. We should be able to concoct a scheme wherein we determine the line number during the construction of the stack trace, rather than during execution. In interp, one simple technique would be iterating forward (or possibly backwards) until we hit the relevant debugline. For jit'd methods we'd have to maintain a mapping structure (or possibly construct one on the fly). Both involve work that is most likely outside the scope of this bug.
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to comment #3) > In interp, one simple technique would be iterating forward (or possibly > backwards) until we hit the relevant debugline. For jit'd methods we'd have to > maintain a mapping structure (or possibly construct one on the fly). Or have deoptimization build it for us, and request a deopt point at every debugline.
Flags: flashplayer-qrb+
Flags: flashplayer-injection-
Flags: flashplayer-bug-
Target Milestone: --- → Future
Comment 5•6 years ago
|
||
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Comment 6•6 years ago
|
||
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in
before you can comment on or make changes to this bug.
Description
•