Confirmed users
497
edits
(→Properties of the Debug Prototype Object: Add watchpoint API.) |
|||
| Line 41: | Line 41: | ||
<dl> | <dl> | ||
<dt>enabled | <dt>enabled | ||
<dd>A boolean value indicating whether this <code>Debug</code> instance's hooks and | <dd>A boolean value indicating whether this <code>Debug</code> instance's hooks, breakpoints, and watchpoints are currently enabled. It is an accessor property with a getter and setter: assigning to it enables or disables this <code>Debug</code> instance; reading it produces true if the instance is enabled, or false otherwise. | ||
This property gives debugger code a single point of control for disentangling itself from the debuggee, | This property gives debugger code a single point of control for disentangling itself from the debuggee, regardless of what sort of events or hooks or "points" we add to the interface. | ||
</dl> | </dl> | ||