Script Debugger step-through and console controls
After the Script Debugger pauses a script, use the step-through controls to move between script lines and move between scripts in the call stack. Use the Console controls to expand console, collapse console, clear console, and rerun expressions.
| Control | Icon | Description |
|---|---|---|
| Stop debugging SHIFT+F2 |
Image omitted: script-debugger-pause.png
Pause debugging - SHIFT+F2 icon|Stops any current debugging session, and disables the Script Debugger for the current user. The Script Debugger does not pause on breakpoints for the current user until it is restarted.|
Pause debugging - SHIFT+F2 icon|Stops any current debugging session, and disables the Script Debugger for the current user. The Script Debugger does not pause on breakpoints for the current user until it is restarted.|
|Start debugger - F2|
Image omitted: script-debugger-start-debugger.png
Start debugger - F2 icon|Enables the Script Debugger for the current user. The Script Debugger pauses on breakpoints.|
Start debugger - F2 icon|Enables the Script Debugger for the current user. The Script Debugger pauses on breakpoints.|
|Resume script execution - F9|
Image omitted: script-debugger-resume.png
Resume script execution - F9 icon|Advances from the current breakpoint to the next breakpoint. If there are no other breakpoints, the script runs to completion.|
Resume script execution - F9 icon|Advances from the current breakpoint to the next breakpoint. If there are no other breakpoints, the script runs to completion.|
|Step over next function call - OPTION+F9|
Image omitted: script-debugger-step-over.png
Step over next function - OPTION+F9 icon|Advances to the next evaluated line of script based on current conditions. The Script Debugger skips any lines of code that do not need to run because their conditions are not met. For example, when the condition of an `if` statement is not true, the debugger skips the code block for the condition.|
Step over next function - OPTION+F9 icon|Advances to the next evaluated line of script based on current conditions. The Script Debugger skips any lines of code that do not need to run because their conditions are not met. For example, when the condition of an `if` statement is not true, the debugger skips the code block for the condition.|
|Step into next function call - OPTION+F10|
Image omitted: script-debugger-step-into.png
Step into next function call - OPTION+F10 icon|When the Script Debugger pauses on a method call, this control allows the user to advance to the first line of executed code within the method call. Stepping into a method updates the current position within the call stack. If the user does not have read access to the method call, then this control acts like step over instead.|
Step into next function call - OPTION+F10 icon|When the Script Debugger pauses on a method call, this control allows the user to advance to the first line of executed code within the method call. Stepping into a method updates the current position within the call stack. If the user does not have read access to the method call, then this control acts like step over instead.|
|Step out of current function - OPTION+F11|
Image omitted: script-debugger-step-out.png
Step out of current function - OPTION+F11 icon|When the Script Debugger pauses within a method call, this control allows the user to exit the current method call and return to the calling script from the call stack. If the user is not within a method call, then this control acts like step over instead.|
Step out of current function - OPTION+F11 icon|When the Script Debugger pauses within a method call, this control allows the user to exit the current method call and return to the calling script from the call stack. If the user is not within a method call, then this control acts like step over instead.|
| Control | Icon | Description |
|---|---|---|
| Open Console |
Image omitted: console\_expand.png
Expand console|Expands the Console.|
Expand console|Expands the Console.|
|Close Console|
Image omitted: console\_collapse.png
Collapse Console|Collapses the Console.|
Collapse Console|Collapses the Console.|
|Clear expressions|
Image omitted: console\_clear.png
Clear expressions in Console|Clears all the expressions in the Console.|
Clear expressions in Console|Clears all the expressions in the Console.|
|Re-execute expression|
Image omitted: console\_re-execute.png
Re-execute an expression in Console|Re-executes the expression which is already executed.|
Re-execute an expression in Console|Re-executes the expression which is already executed.|
Parent Topic:Script Debugger user interface
Related topics