Skip to content

Debug Toolbar

Debug Toolbar

Project Selector

This button displays the filename of the current workspace's current project.

The drop-down list next to this button lists up to nine projects that belong to the current workspace. Selecting one of the projects from the list will make that project the new current project. If there are more than nine projects in the workspace, then the final item in the list will activate the Select Project dialog.

If the workspace does not contain any projects, you can click this button to activate the Create New dialog to create a new project.

Compile

Compiles the current project. The current project is compiled only if changes since the last compile have been detected.

Run

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

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

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: F6

Go To Instruction Address

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

Keyboard shortcut: Alt+G

Restart

Stops debugging and restarts the program, recompiling if necessary. Functionally equivalent to Stop followed by Run.

Stop

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

Keyboard shortcut: Shift+F5

See Also