Partager via


Setting the Next Statement to Execute (Windows CE 5.0)

Send Feedback

You can choose the next statement to execute while the debugger is a break state, both in the Source window and in the Disassembly window.

To set the next statement to execute in a source window while the debugger is in the break state

  1. In a source window, move the insertion point to the statement or instruction that you want to execute next.
  2. Right-click, and then choose Set Next Statement.

To set the next disassembly instruction to execute while the debugger is in a break state

  1. In the Disassembly window, move the insertion point to the disassembly instruction you want to execute next.

  2. Right-click, and then choose Set Next Statement.

    You can use the Set Next Statement command to skip a section of code and continue to debug other sections; for example, a section that contains a known bug.

    Because the intervening code is not executed, use this command with caution.

    You can also return to an earlier statement to retest your application, using different values for variables.

See Also

Debugger Execution Control

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.