Partager via


Run to a Location (Compact 7)

3/12/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 on how to set a break point, see Set Breakpoints.

To run to the cursor location in the source code

  1. In a source window, right-click the line of the source code in which you want the debugger to break.

  2. Click Run to Cursor.

To run to a location in disassembly code

  1. On the Debug menu, click Windows, and then click Disassembly.

  2. In the Disassembly window, right-click the line in which you want the debugger to break.

  3. Click Run to Cursor.

To run to a function on the call stack

  1. On the Debug menu, click Windows, and then click Call Stack.

  2. In the Call Stack window, right-click the function name.

  3. Click Run to Cursor.

To run to a specified function in an open source code file

  1. In Platform Builder, on the Standard toolbar, in the Find box, type the function name and press Enter. This command moves the cursor to the specified function or a call to that function.

  2. Repeat step 1 if necessary to locate the specific instance you want.

  3. In the source code window, right-click the function definition and click Run To Cursor.

To run the debugger until a breakpoint is reached

  1. Set a breakpoint.

  2. On the Debug menu, click Start.

See Also

Concepts

Control Debugger Execution
Kernel Debugger
Debugging

Other Resources

Windows Embedded Compact 7