Working with Breakpoints

To create a breakpoint, perform the following:

  1. Select New Breakpoint from the Debug menu or Breakpoints window toolbar to display the New Breakpoint dialog box.

  2. To create a Function breakpoint, in the Function field on the Function tab, enter the name of the breakpoint in the following format:

    <model name>.(<class name>.)*<method name>

    To create a File breakpoint, in the File field on the File tab, enter the name of the breakpoint in the following format:

    <server>\<model name>.(<class name>.)*<method name>

    Search New Breakpoint Dialog Box in the Microsoft Visual Studio Online Help for more information on this dialog box.

    Alternatively, to create a File breakpoint on the current line in the logic editor, click in the left margin or right-click and select Insert Breakpoint.

To modify a breakpoint, perform the following:

  1. Select the desired breakpoint in the Breakpoints window.

  2. Select Properties from the Breakpoints window toolbar, or right-click and select Properties.

To remove a breakpoint, perform the following:

  1. Select the desired breakpoint in the Breakpoints window.

  2. Select Delete from the Breakpoints window toolbar, or right-click and select Delete.

    Alternatively, click the desired breakpoint glyph in the logic editor or right-click and select RemoveBreakpoint.

To remove all breakpoints, select Clear All Breakpoints from the Debug menu or Breakpoints window toolbar.

To disable or enable a breakpoint, perform the following:

Clear or select (as required) the checkbox corresponding to the desired breakpoint in the Breakpoints window.

Alternatively, right-click in the logic editor and select DisableBreakpoint or EnableBreakpoint (as required).

To disable or enable all breakpoints, select Disable All Breakpoints or Enable All Breakpoints(as required) from the Debug menu or Breakpoints window toolbar.

Saving breakpoints

Breakpoints are automatically stored and loaded on a per user basis, and are persistent between Visual Studio sessions.

Restrictions

The following restrictions apply to the use of breakpoints:

Search Breakpoints in the Microsoft Visual Studio Online Help for more information on the use of breakpoints, including a description of breakpoint glyphs.