Open Bug 685631 Opened 14 years ago Updated 1 month ago

Better Debugger exception events

Categories

(Core :: JavaScript: Debugger API, defect)

Other Branch
x86
macOS
defect

Tracking

()

People

(Reporter: jorendorff, Unassigned)

References

(Blocks 1 open bug)

Details

onExceptionUnwind isn't great, it's just what we've got. https://wiki.mozilla.org/Debugger#Debugging_hooks proposes two possible improvements. One is to add a hook, dbg.onThrow(frame, value), which is called only when an exception is thrown. The other is to try to provide a complete picture of what's going on by making the hook dbg.onException(status, frame, value) where status is a string like "throw", "catch", or "finally".
Assignee: general → nobody
Severity: normal → S3

Moving bugs to Debugger API component. Use castle-terms-potato to filter out.

Component: JavaScript Engine → JavaScript: Debugger API
You need to log in before you can comment on or make changes to this bug.