|
|
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 = |