Debugger: Difference between revisions

Jump to navigation Jump to search
111 bytes removed ,  17 November 2011
→‎Accessor Properties of the Debugger.Frame Prototype Object: onPop is only ignored on "debugger" frames.
(→‎Accessor Properties of the Debugger.Frame Prototype Object: Note that onStep and onPop are ignored on frames that aren't running JavaScript.)
(→‎Accessor Properties of the Debugger.Frame Prototype Object: onPop is only ignored on "debugger" frames.)
Line 339: Line 339:
When a generator frame yields a value, SpiderMonkey calls its <code>Debugger.Frame</code> instance's <code>onPop</code> handler, if present, passing a <code>yield</code> resumption value; however, the <code>Debugger.Frame</code> instance remains live.
When a generator frame yields a value, SpiderMonkey calls its <code>Debugger.Frame</code> instance's <code>onPop</code> handler, if present, passing a <code>yield</code> resumption value; however, the <code>Debugger.Frame</code> instance remains live.


This property is ignored on frames that are not executing JavaScript code, like <code>"call"</code> frames for calls to host functions and <code>"debugger"</code> frames.
This property is ignored on <code>"debugger"</code> frames.


<dt>onResume(<i>value</i>)
<dt>onResume(<i>value</i>)
Confirmed users
497

edits

Navigation menu