Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are User-level Xcode breakpoints saved?

Tags:

xcode

I'm using User-level breakpoints in Xcode (i.e., breakpoints that are shared across projects – right-click on breakpoint > "Move Breakpoints To" > "User").

I see that breakpoints specific to a project are saved in $project.xcodeproj/xcuserdata/$username.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist, but User-level breakpoints do not appear in this file.

Anyone have any idea where User-level breakpoints are saved?

like image 901
Ken M. Haggerty Avatar asked Oct 23 '15 15:10

Ken M. Haggerty


People also ask

How do you set breakpoints in Xcode?

Navigate to a line in your code where you want execution to pause, then click the gutter or line number in the source editor to set a breakpoint. Xcode displays a breakpoint icon to indicate the location. Drag a breakpoint up or down to move it to another location; drag it away from the gutter to remove it.

How do I delete a breakpoint in Xcode?

Click on the breakpoint to enable/disable. Drag it away to delete it.

What does a dotted breakpoint mean in Xcode?

New in Xcode 13, if a breakpoint is not resolved to any location by LLDB, Xcode will show you a dashed icon. There is a myriad of reasons why a breakpoint is not resolved but there are some common explanations. If you hover over the unresolved breakpoint icon, we have a tooltip that can help you out.

How do I use symbolic breakpoints in Xcode?

You can click on Breakpoint Navigator and click on + symbol at the bottom and select Symbolic Breakpoint as an option. Now, you can ask - This is fine for putting a break on simple variables.


1 Answers

The User level breakpoints you define in Xcode (at least in 7.0.1) are stored in

~/Library/Developer/Xcode/UserData/xcdebugger/Breakpoints_v2.xcbkptlist

Which is a simple XML file.

like image 176
Guillaume Algis Avatar answered Oct 17 '22 08:10

Guillaume Algis