Platform/JSDebugv2: Difference between revisions

Jump to navigation Jump to search
(→‎General goals: Properly explain high-level goals.)
Line 5: Line 5:
= <tt>js::dbg2</tt>: JavaScript Debugging Interface, v2 =
= <tt>js::dbg2</tt>: JavaScript Debugging Interface, v2 =


We'd like to improve the Mozilla platform's debugging facilities, for a number of reasons:
We'd like to improve the Mozilla platform's debugging facilities.
 
* Beyond debuggers, we want to encourage the creation of other sorts of monitoring and manipulation tools for web code; "watching programs run" is a broad charge. Think [http://en.wikipedia.org/wiki/DTrace DTrace] and [http://sourceware.org/systemtap SystemTap].
* Our JavaScript implementation is changing rapidly; we need to do better than falling back to the bytecode interpreter whenever the debugger is enabled.
* We need to be able to monitor and debug worker threads.
* We need to be able to monitor and debug JavaScript running on embedded devices.
* Now that SpiderMonkey is C++, an interface designed in that language can be more expressive and less error-prone than a C interface.


= Goals =
= Goals =
Confirmed users
496

edits

Navigation menu