The Debug menu provides commands to download, run, and debug your application. You can find common debug actions as tool buttons on the Debug toolbar.
Menu command | Keystroke | Description |
Debug Windows | Displays the Debug Windows menu. See Debug Windows menu. | |
Breakpoints | Displays the Breakpoints menu. See Breakpoints menu. | |
Control | Displays the Debug Control menu. See Debug Control menu. | |
Start Debugging | F5 | Downloads the program to the selected target interface and starts running the program under control of the debugger. |
Reset and Debug | Ctrl+Alt+F5 | Resets the selected target interface without downloading the project and starts running the program. |
Attach Debugger | Ctrl+T, H | Attaches the debugger to the program running on the selected target interface. |
Start Without Debugging | Ctrl+F5 | Downloads the program to the selected target interface and starts running the program without the debugger. |
Go | F5 | Continues running the program until a breakpoint is hit or a hardware exception is raised. |
Break | Ctrl+. | Stops the program running and returns control to the debugger. |
Stop | Shift+F5 | Stops debugging the program and returns to the editing workspace. |
Restart | Ctrl+Shift+F5 | Resets the selected target interface and starts debugging the program. |
Step Into | F11 | Steps into the next statement or instruction and enters C functions and assembly language subroutines. If a breakpoint is hit when stepping, the debugger immediately stops at that breakpoint. |
Step Over | F10 | Steps over the next statement or instruction without entering C functions and assembly language subroutines. If a breakpoint is hit when stepping, the debugger immediately stops at that breakpoint. |
Step Out | Shift+F11 | Steps out of the function or subroutine by executing up to the instruction following the call to the current function or subroutine. If a breakpoint is hit when stepping, the debugger immediately stops at that breakpoint. |
Run To Cursor | Ctrl+F10 | Runs the program to the statement or instruction the cursor is at. If a breakpoint is hit when stepping, the debugger immediately stops at that breakpoint. |
Auto Step | Alt+F11 | Animates program execution by running the program and updates all debugger windows after each statement or instruction executed. |
Set Next Statement | Shift+F10 | Sets the program counter to the statement or instruction that the cursor is on. Note that doing this may lead to unpredictable or incorrect execution of your program. |
Show Next Statement | Alt+* | Displays the source line or instruction associated with the program counter. You can use this to show the execution point after navigating through files. |
Locate... | ||
Quick Watch | Shift+F9 | Opens a viewer on the variable or expression at the cursor position. If no text is selected, CrossStudio opens a viewer using the word at the cursor position as the expression. If some text is selected, CrossStudio opens a viewer using the selected text as the expression. |
Add To Watch | Ctrl+T, Ctrl+W | Adds the variable or expression at the cursor position to the last activated watch window. If no text is selected, CrossStudio adds the word at the cursor position to the watch window. If some text is selected, CrossStudio adds the selected text as the expression to the watch window. |
Remove From Watch | Removes the variable or expression at the cursor position to the last activated watch window. If no text is selected, CrossStudio removes any expression matching the word at the cursor position from the watch window. If some text is selected, CrossStudio removes any expression matching the selected text from the watch window. | |
Edit Search Paths | Opens the Debug Search File dialog. See Debug Search File Dialog. | |
Exceptions | Opens the Exceptions dialog. |