Run Menu can be found in the main menu of MDT workbench. It contains all of the actions required to run, debug, step through code and work with breakpoints.
Different options in the menu are visible in different conditions, as each perspective can be customized to show only specific capabilities.
Run Menu commands.
| Command |
Name |
Description |
Shortcut |
|---|---|---|---|
Debug As |
Displays a sub menu of registered debug launch shortcuts. Launch shortcuts provide support for workbench or active editor selection sensitive launching. |
||
| Debug History | Displays a sub menu of the recent launch history of configurations launched in debug mode | ||
![]() |
Debug Last Launched / Debug |
Allows you to quickly repeat the most recent launch in debug mode or to debug the current selection. Available only if that mode is supported (based on your current launch settings). |
F11 |
![]() |
Shows the results of inspecting the selected expression or variable in the context of a stack frame or variable in that thread. |
Ctrl + Shift + I |
|
![]() |
Remove All Breakpoints | Removes all breakpoints from the current workspace | |
|
Resumes a suspended thread. |
F8 | |
Run As |
Displays a sub menu of registered and run launch shortcuts. Launch shortcuts provide support for workbench or active editor selection sensitive launching. |
||
Run History |
Displays a sub menu of the recent history of launch configurations launched in run mode |
||
![]() |
Run Last Launched / Run |
Allows you to quickly repeat the most recent launch in run mode or quickly run the selected resource, if that mode is supported (based on your current launch settings). |
Ctrl + F11 |
![]() |
Run To Line | Executes the program to the currently selected line in the editor | Ctrl + R |
Marks all breakpoints in the current view as skipped. |
|||
|
Steps into the current statement. |
F5 | |
|
Steps over the highlighted statement. Execution will continue at the next line either in the same method or (if you are at the end of a method) it will continue in the method, from which the current method was called. The cursor jumps to the declaration of the method and selects this line. |
F6 | |
|
Step Return |
Steps out of the current method. This option stops execution after exiting the current method. |
F7 |
|
Suspend |
Suspends the selected thread of a target so that you can browse or modify code, inspect data, step, and so on. |
|
|
Terminates the selected debug target. |
Ctrl + F2 | |
![]() |
Toggle Breakpoint | Toggles the appropriate type of breakpoint based on what is currently selected | Ctrl + Shift + B |
![]() |
Toggle Line Breakpoint | Toggles a line breakpoint on the current executable line of code | |
![]() |
Toggle Method Breakpoint | Toggles a method breakpoint on the currently selected method declaration | |
![]() |
Toggle Watchpoint | Toggles a watchpoint on the currently selected field | |
|
Use Step Filters | Toggles step filters on/off. When enabled, all step functions apply to step filters. | Shift + F5 |
Creates a watch item. A watch item is an expression in the Expressions view which value is being updated as you debug. |


Running and Debugging
Adding Line breakpoints
