The Debug Menu

The commands available in the Debug menu are discussed in Table 10.

Table 10. Debug Menu Descriptions

Command

Button (where applicable)

Shortcut (if applicable)

Description

Toggle Breakpoint

Toggle Breakpoint button

F9

Turn a breakpoint on or off (Select Run, then Fire Current Event before the breakpoint takes effect)

Clear All Breakpoints

  

Turn off all breakpoints

Evaluate

Evaluate button

 

Evaluate the expression in the left text box of the evaluate pane in the output window (Must be a valid JavaScript expression, otherwise a JavaScript error is generated and execution ceases at the breakpoint. Only available when paused on a breakpoint)

Stack Trace

Stack Trace button

 

Display the sequence of function calls that lead to the breakpoint (Only available when paused on a breakpoint)