Run to a Location (Compact 2013)
3/26/2014
You can command the debugger to run until it reaches a location where the cursor is set in the source code, a location in disassembly code, a function on the call stack, a function in the source code, or until a breakpoint in the source code is reached.
The following procedures show how to run the debugger to a specified location. The debugger must first be in a break state. For information about how to set a breakpoint, see Set Breakpoints.
To run to the cursor location in the source code
In a source window, right-click the line of the source code in which you want the debugger to break.
Click Run to Cursor.
To run to a location in disassembly code
On the Debug menu, select Windows, and then click Disassembly.
In the Disassembly window, right-click the line in which you want the debugger to break.
Click Run to Cursor.
To run to a function on the call stack
On the Debug menu, select Windows, and then click Call Stack.
In the Call Stack window, right-click the function name.
Click Run to Cursor.
To run to a specified function in an open source code file
In Platform Builder, on the Standard toolbar, in the Find box, type the function name, and then press Enter. This command moves the cursor to the specified function or a call to that function.
If necessary, repeat step 1 to locate the specific instance that you want.
In the source code window, right-click the function definition, and then click Run To Cursor.
To run the debugger until a breakpoint is reached
Set a breakpoint.
On the Debug menu, click Start.
See Also
Concepts
Control Debugger Execution
Kernel Debugger
Debugging