Mac OS X Debugging Magic
This technote describes a number of ‘secret’ debugging facilities in Mac OS X, including environment variables, preferences, routines callable from GDB, special files, and so on. If you’re developing for Mac OS X, you should look through this list to see if you’re missing out on something that will make your life easier.