See Build Transcripts

Showorhide

I’m spending some time working on a new project (sorry, not quite ready to explain what it is) and have spent the time to write some unit tests[1]. The tests run in a script and one problem I had was that there seemed to be no way to debug the tests if things went wrong. I couldn’t even figure out how to show the NSLog calls that were surely being made. This drove me nuts. Then I found the little “show or hide build transcript” button under the normal ‘build’ view. This shows the build output as Xcode compiles the files as well as any shell scripts run during the build process. Showing the transcript showed me the NSLog’s I needed to see and all was well again.

It would be a lot nicer if I could step through the code when the unit tests ran. If anyone knows how to do this I’d greatly appreciate the knowledge.

[1] - thanks to http://developer.apple.com/documentation/DeveloperTools/Conceptual/UnitTesting/UnitTesting.html and http://www.supermegaultragroovy.com/Software%20Development/xcodecodecoverage_howto

Leave a Reply


© 2006 roobasoft, LLC