iOS/Mac developer tip: when you suspect the bug is in your code somehow, but you don’t know how, where, or when, set a breakpoint on literally all of your app’s functions at once: “break set -s -r .*” Also a great way to explore the exposed symbols of a library.

Screenshot of the Xcode developer console, where a breakpoint has been set using the regular expression trick described in the post.

*****
Written on