Platform/JSDebugv2: Difference between revisions

Jump to navigation Jump to search
→‎js::dbg2: Summarize js::dbg2 functions.
(→‎js::dbg2: Summarize js::dbg2 functions.)
Line 99: Line 99:




=== js::dbg2 ===
=== isd2IDebuggerService and the js::dbg2 Interfaces ===
 
The js::dbg2 interfaces, wrapped for JavaScript as the
jsd2IDebuggerService, allow the debugger to discover and select debuggees,
set breakpoints and watchpoints and otherwise express interest in debuggee
behaviors, and inspect a debuggee's state.
 
The js::dbg2 interfaces operate at the level of JavaScript programs and the
things they manipulate (functions; scripts; lines), rather than revealing
details of the SpiderMonkey implementation (JSScripts; bytecode
instructions; JSStackFrames). This reduces the amount of work necessary to
debug code compiled by TraceMonkey or JägerMonkey, as those new systems
need not match the behavior of the old bytecode engine to avoid startling
the debugger.


= Tasks and Estimates =
= Tasks and Estimates =
Confirmed users
497

edits

Navigation menu