user170317
user170317

Reputation: 1202

xcode commit and transfer breakpoints from one computer to another computer

I'm looking a way to keep breakpoint settings between two computers with Xcode under github. Addin that file: server:myproject.xcodeproj alex$ ls xcuserdata/alex.xcuserdatad/xcdebugger/ Breakpoints.xcbkptlist

has no success. Where i'm wrong?

UPDATE - it's working now, but i need to restart Xcode to see updated breakpoints. any chances to avoid it?

Upvotes: 4

Views: 1047

Answers (1)

Mike Weller
Mike Weller

Reputation: 45598

If you're trying to share through git, you probably have *.xcuserdatad ignored (if not, you should). If you don't mind everyone seeing the breakpoint, you can share it from within Xcode:

Right-click the breakpoint in the breakpoint navigator and select "Share":

enter image description here

You should now be able to add the file via git. It'll be in a location like this:

Test/Test.xcodeproj/xcshareddata/xcdebugger/Breakpoints.xcbkptlist

Anybody else working on the project should now be able to use that breakpoint.

Upvotes: 6

Related Questions