The debugger toolbar is only shown then the active editor supports debugging (currently XQuery and XSLT).
The debugger has 3 states, stopped, running and paused. The Watch, Local Variable, and call stack windows are only valid when the debugger is paused.
F5 | Start Debugger | Starts the Debugger. If no breakpoints are set then the execution will run to completion. While it's running breakpoints can be set, and the debugger can be paused manually. | |
Ctrl-Break | Pause Debugger |
Causes the debugger to break on the next operation and enter the paused state. Only enabled when the debugger is in a running state. |
|
Shift-F5 | Stop Debugger | Causes the debugger to stop. Only enabled when the debugger is in a running or paused state. | |
F9 | Toggle Breakpoint | Toggles a break point at the current cursor location. If a breakpoint already exits at this location it is removed. If a breakpoint does not exist it is created. | |
F10 | Step Over | Starts the execution running, pausing it again when the execution has moved past the current operation. | |
F11 | Step Into | Starts the execution running, pausing it again when the execution has moved inside the current operation. If the current operation can not be debugged, then execution stops on the next instruction. | |
Shift-F11 | Step Out | Starts the execution running, pausing it again when the execution has completed all the operations in the current call stack frame, and has stepped back to the caller. | |
Ctrl-Shift-B | Compile | Compiles the current program, any errors are shown in the error window. This is only enabled when the debugger is stopped, and no execution is being performed. | |
Shift-F5 | Execute | Executes the program without the debugger. | |
F2 | Options | Shows the options for the currently selected debugger | |
Engine Selection | The currently selected debugger |