Partager via


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

  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, select 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, select 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 then press Enter. This command moves the cursor to the specified function or a call to that function.

  2. If necessary, repeat step 1 to locate the specific instance that you want.

  3. 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

  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 2013