Partager via


Setting a Breakpoint at a Source Code Line (Windows Embedded CE 6.0)

1/5/2010

You can set a breakpoint at any line of source code.

To set a breakpoint at a source code line

  1. In a source code window, move the insertion point to the line where you want the application to break.

    To set a breakpoint in a statement that spans two or more lines, move the insertion point to the last line of the statement.

  2. From the Debug menu, choose New Breakpoints.

  3. In the New Breakpoint Dialog Box, enter the location to insert the breakpoint.

  4. Choose OK.

    Note

    When you set a breakpoint in source code, the color of the breakpoint glyph indicates the status of the breakpoint. A hollow circle with a caution triangle, for example, indicates that this breakpoint is not yet instantiated.

See Also

Concepts

Setting and Removing Breakpoints

Other Resources