n179911
n179911

Reputation:

How to delete breakpoints in XCode

I go to Breakpoints panel in XCode, in the 'Breakpoints' I click a breakpoint and click 'Delete', but it does not remove the breakpoint. And I try go to go to 'Project Breakpoints' and find the same breakpoint and click 'Delete'. But it still does not break the breakpoint.

Upvotes: 29

Views: 12970

Answers (3)

jtbandes
jtbandes

Reputation: 118731

Drag them out of the bar on the side and they will disappear.

You can also press the shortcut +\ while your cursor is on the line, or press with the breakpoint selected in the navigator:

breakpoint navigator

Upvotes: 83

WangYudong
WangYudong

Reputation: 4423

Also try +\ to toggle the breakpoint at the current line.

Upvotes: 13

Laurent Etiemble
Laurent Etiemble

Reputation: 27889

You can also right-click on it and select the "Delete" menu.

Upvotes: 1

Related Questions