Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Identify a Breakpoint by Breakpoint Number Xcode

While using the debugger in Xcode, I got the following error:

"Execution was interrupted, reason: breakpoint 6.3"

So, I'd like to remove breakpoint 6.3. How can I figure out which one has the number 6.3? I have looked in the breakpoint summary panel, tried right clicking on each one, but I don't see any way to identify each these number.

like image 769
jac300 Avatar asked Mar 23 '23 05:03

jac300


1 Answers

There seems no way to identify the breakpoints by number in the Xcode Breakpoint Navigator.

However, you can easily remove the breakpoint in the debugger console. In your case "6" is the breakpoint number and "3" is one of the breakpoint locations.

breakpoint list

shows all breakpoints.

breakpoint delete 6

deletes breakpoint 6 (with all locations).

breakpoint disable 6.3

disables only location 3 of breakpoint 6.

like image 118
Martin R Avatar answered Apr 01 '23 09:04

Martin R