Using Breakpoints As Bookmarks
Any time I am exploring or getting familiar with a new codebase in Xcode, especially very large projects, I use disabled breakpoints as “bookmarks” to keep track of where I am, where I have been, and things I want to remember or need to revisit. Sometimes I even do this when debugging issues in codebases that I know well.
Previously:
- Finding What Code Triggered a Log Message
- Xcode Treasures
- System Level Breakpoints in Swift
- Little Things That Can Make Your Life Easier
- Xcode Consolation
2 Comments RSS · Twitter
I'd add a lot of people aren't aware of how powerful and useful breakpoints can be if you start using their advanced options. A bunch of non-stopping, logging breakpoints are an invaluable tool in the debugging arsenal that not everyone is aware of.