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?
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.
Click on the breakpoint to enable/disable. Drag it away to delete it.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With