Game Development Community

OSX XCode Debug Sniglet

by Gary "ChunkyKs" Briggs · in Torque Game Engine · 06/01/2005 (8:07 pm) · 0 replies

I noticed today that my debug builds of TGE on OSX actually aren't.

To fix this, select the debug target, then go to Project->"Edit Active Target 'Torque-MacCarb-Debug'"

Click on "GCC Compiler Settings", and append "-g -DTORQUE_DEBUG" to the box "Other C Compiler Flags"

Also, Optimisation Level "No optimisation; Very Debuggable" might be a good idea.

Gary (-;

EDIT: Forgot to mention, I'm using XCode 2 on Tiger. Might be pertinent to either the bug, or the fix :-)