Export (0) Print
Expand All

Enable, Disable, and Delete Breakpoints

To view and manage all the open breakpoints, you can use the Breakpoints window. Use the window to view breakpoint information and to take actions such as deleting, disabling, or enabling breakpoints.

The Breakpoints window lists information such as which line of code the breakpoint is located on. In the Breakpoints window, you can also delete, disable, and enable breakpoints. For more information about the Breakpoints window, see Breakpoints Window

Disabling a breakpoint prevents it from pausing execution, but leaves the definition in place in case you want to enable the breakpoint later. Deleting a breakpoint removes it permanently. You must toggle a new breakpoint to pause execution on the statement.

To open the Breakpoints window

You can open the Breakpoints window in one of the following ways:

  • On the Debug menu, click Windows, and then click Breakpoints.

  • On the Debug toolbar, click the Breakpoints button.

  • Press CTRL+ALT+B.

To disable a single breakpoint

You can disable a single breakpoint in one of the following ways:

  • In the Query Editor window, right-click the breakpoint, and then click Disable Breakpoint.

  • In the Breakpoints window, clear the check box to the left of the breakpoint.

To disable all breakpoints

You can disable all breakpoints in one of the following ways:

  • On the Debug menu, click Disable All Breakpoints.

  • On the toolbar of the Breakpoints window, click the Disable All Breakpoints button.

To enable a single breakpoint

You can enable a single breakpoint in one of the following ways:

  • In the Query Editor window, right-click the breakpoint, and then click Enable Breakpoint.

  • In the Breakpoints window, click the box to the left of the breakpoint.

To enable all breakpoints

You can enable all breakpoints in one of the following ways:

  • On the Debug menu, click Enable All Breakpoints.

  • On the toolbar of the Breakpoints window, click the Enable All Breakpoints button.

To delete a single breakpoint

You can delete a single breakpoint in one of the following ways:

  • In the Query Editor window, right-click the breakpoint, and then click Delete Breakpoint.

  • In the Breakpoints window, right-click the breakpoint, and then click Delete on the shortcut menu.

  • In the Breakpoints window, select the breakpoint, and then press DELETE.

To delete all breakpoints

You can delete all breakpoints in one of the following ways:

  • On the Debug menu, cllick Delete All Breakpoints.

  • On the toolbar of the Breakpoints window, click the Delete All Breakpoints button.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft