Do you know how to backup your Xcode breakpoints using Source Control? Lately I have been using a lot of breakpoints to print out which part of the code fired. I had some trouble with a project and had to restore from my online Git repo and lost 85 breakpoints which really sucks. I had the same issue when I tried to share the project with another developer.
Here's a screen shot of what I mean about printing things with breakpoints.
The unchecked boxes here may be the answer but I don't know.
If you could please enlighten me that would be helpful. Thank you.
Visual Studio saves breakpoints in a XML file. To save the breakpoints, you just need to click on the “Export” button in breakpoint window as shown in the following figure. You can use the saved XML file for the future and you can pass the same to other developers.
Overview. Source control is the practice of tracking and managing changes to your code. Manage your Xcode project with source control to keep a rich history of the changes you make, and collaborate on code faster and more effectively. Xcode simplifies source control management with its built-in support for Git.
I was surprised to find that sharing breakpoints is actually a feature of the IDE. Here is some Apple documentation on the matter.
From the article:
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