Capturing NSLog in release mode
Kind Regards
RohanGDB, the apple debugger.
Just start the terminal and type in:
gdb -q path-to-your-application
When it has loaded press r in order to start your application.
Hope that helps
NSLog output goes to stdout, which goes to Console for applications launched from the Finder. In other words, look in Console.app.
You could replace calls to NSLog()
with calls to your own function that writes the output to a location that you specify, and optionally also calls NSLog()
to dump the output to the console.
精彩评论