Debugger: Difference between revisions

Jump to navigation Jump to search
8 bytes removed ,  19 March 2011
→‎Property Conventions: Allow monkey-patching.
(→‎Properties of the Debug Prototype Object: Pass frames to breakpoint and watchpoint handlers. Let them specify how execution should continue.)
(→‎Property Conventions: Allow monkey-patching.)
Line 21: Line 21:
The <code>Debug</code> interface creates various sorts of objects to present the debuggee's state to the debugger. These objects' properties follow some conventions:
The <code>Debug</code> interface creates various sorts of objects to present the debuggee's state to the debugger. These objects' properties follow some conventions:
<ul>
<ul>
<li>Properties described here are non-configurable. This applies to both "own" and prototype properties, and to data properties and methods.
<li>Properties described here are configurable. This applies to both "own" and prototype properties, and to data properties and methods.
<li>Non-method properties are generally non-writable value properties.
<li>Non-method properties are generally writable value properties.
<li>Instances and prototypes are extensible; you can add your own properties and methods to them.
<li>Instances and prototypes are extensible; you can add your own properties and methods to them.
</ul>
</ul>
Confirmed users
497

edits

Navigation menu