Skip to content

Debug Menu

The Debug Menu lets you control the execution of your project after a breakpoint has been encountered and the debugger has control of your program. Various stepping options may be selected.

Windows

The Windows sub-menu lets you activate the various docking windows associated with debugging.

Run

Select this option to run a project. The project is automatically compiled first if necessary.

Keyboard shortcut: F5

Pause

Pause lets you manually pause the program and enter break mode without a specific breakpoint. Execution will break immediately, and the program enters break mode. After which you can step through the program, and the various debug windows are updated.

Continue

Continue leaves break mode and resumes execution until a breakpoint is encountered or the program is manually paused.

Keyboard shortcut: F5

Attach to Process

Select this option to attach to a process that was started outside of the Studio.

Step Over

Step Over executes the current line and stops on the following line, stepping over method calls.

Keyboard shortcut: F10

Step Into

Step Into executes the current line and stops on the next line encountered, stepping into any method call.

Keyboard shortcut: F11

Step Out

Step Out resumes execution until the current method returns to the calling method. Execution will break at the return point of the calling method, stepping out of the current method call.

Keyboard shortcut: F12

Run to Cursor

Run to Cursor resumes execution until the line where the cursor is located is reached.

Keyboard shortcut: Shift + F10

Go to Instruction Address

Find the corresponding source file and line for a specified instruction address.

Keyboard shortcut: Alt + G

Restart

Select this option to restart the currently running project.

Keyboard shortcut: Ctrl + F5

Stop

Ends the current debug session and stops the program. When the debugging is stopped, the Studio will automatically leave debug mode. This should not be confused with Pause.

Keyboard shortcut: Shift + F5

Run (Without Compile)

Select this option to run a project. The project is not compiled first, even if source changes have been made since the last compile.

Keyboard shortcut: F5

See Also