One Quickie


Debugging unit tests from the command-line (Xcode->General)
First, find the .octest file of interest:
% find . -name "*.octest" -print
./build/Debug/Tests.octest
Then gdb Tools/otest:
% gdb /Developer/Tools/otest
Then run it with the name of the bundle:
(gdb) run ./build/Debug/Tests.octest



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com