Display the source code lines of the debuggee and their corresponding numbers.
A blue dot at a source line indicates available debug information. The current line, the source code line to be executed next, is highlighted with an arrow and a light blue bar.
You can set a breakpoint by double-clicking the blue dot at a source line. Breakpoints appear as red stop signs in the Source window. Thread syncpoints appear as purple stop signs.
You can delete a breakpoint by double-clicking the stop sign.
You can view the value of an expression directly in a tooltip. When you hover the mouse pointer over a variable, the tooltip displays the type and the value of the variable. To investigate the value of a more complex expression, select the expression and hover the mouse pointer over the selection.
The following keyboard shortcuts are available to move the cursor:
Key |
Command |
---|---|
Up arrow |
Move cursor up |
Down arrow |
Move cursor down |
Left arrow |
Move cursor left |
Right arrow |
Move cursor right |
PgUp |
One page up |
PgDown |
One page down |
Home |
Go to beginning of line |
End |
Go to end of line |
Pop-up menus in the Source window differ according to the following context:
Whether the source line you are right-clicking has available debug information, represented by a blue dot next to it.
If you right-click an expression.
If you right-click or double-click a function.
On Selection "expression" |
Contains the following submenu items:
|
||||||||||||||||||
Create Breakpoint |
The debugger evaluates your breakpoint request. If realizable, it sets one or more code breakpoints at the specified line. In this window, you can remove a thread syncpoint, but you cannot set it. |
||||||||||||||||||
Delete Breakpoint |
The debugger deletes your breakpoint request and all its related breakpoints. | ||||||||||||||||||
Enable Breakpoint / Disable Breakpoint |
Activates an inactive breakpoint at the specified line, or suspends an active one. |
||||||||||||||||||
Show Current Location |
Updates all windows to the current program location. |
||||||||||||||||||
Go here |
Executes the program until the line pointer is reached. The line that has been clicked is not executed. |
||||||||||||||||||
Set Current Location |
The program counter is set to the line marked by the line pointer. Execution continues by processing this line. With this feature, you can jump over sections of code, leaving them unprocessed, or repeat executing sections of code. This feature can produce unpredictable results. Use it with caution. |
||||||||||||||||||
Jump to Assembler |
Jumps to the Assembler code of the specified source line. |
||||||||||||||||||
Run Until Caller |
This menu item is only useful in subroutines. Execution continues until it returns to the calling routine. If the debugger then processes the call, it advances to the next line. Otherwise, it remains on the line with the call. |
||||||||||||||||||
Copy |
Copies the selected expression to the clipboard. Right-click to paste the expression into the Console window or the Evaluate dialog box. This menu item is unavailable if there is no data selected. Copying data to the clipboard replaces the contents previously stored there. See also Copying and Pasting. |
||||||||||||||||||
Add Bookmark |
Adds a bookmark to the selected line. |
||||||||||||||||||
Remove Bookmark |
Removes the bookmark from the selected line. |
Copyright © 2001-2011, Intel Corporation. All rights reserved.