Xcode debugger symbolic breakpoint


One of my goals for this year is to rely on the debugger instead of NSLog messages for trouble-shooting code. One thing I learned is how to set a symbolic breakpoint, but it wasn’t working for a UIScrollView that I was trying to figure out. I finally determined out the correct syntax:

-[UIScrollView setContentSize:]

This works even if the method is dynamically generated.

The trailing colon is necessary but easy to miss if you just google and don’t carefully read the results.

Not that I would do that…

UI Review
Using Hazel to clean up Xcode’s Derived Data folder

Leave a Reply

Your email address will not be published / Required fields are marked *