Useful Debugging Macros

Marcus Zarra posted some debugging macros, which are now being used by all Bitcartel projects. If you’re a Mac or iOS programmer, check them out:

For example, the macro DLog() will help you save time by not having to type NSLog(@”%s”, __PRETTY_FUNCTION__) over and over again. There are similar macros defined in GTMDefines.h (Google Toolbox for Mac) but with harder to type names: _GTMDevLog, _GTMDevAssert. Perhaps they’re meant for internal GTM usage only.

This entry was posted in xcode. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s