Game Development Community

Differences between DEBUG and DEPLOYMENT versions

by Bruno Grieco · in Torque Game Engine · 01/27/2006 (5:33 pm) · 1 replies

Guys,

What are the differences in the DEBUG and DEPLOYMENT version ? where can I check and edit them in XCODE 2.2 ?
The number of files in both projects seem to be the same.

The problem is that DEPLOYMENT is crashing in starter.fps and DEBUG is working fine.

#1
02/15/2006 (10:19 am)
In XCode 2.2 I believe they are referred to as the DEBUG and RELEASE versions. I'm not all that good at what constitutes the real differences between the two; just know that the DEBUG version will be a lot larger and run much more slowly.

You can specify which target to build under the Project menu, with the "Set Active Target" command. Below that in the Project menu you'll see a command "Edit Active Target", which will show you the settings for that particular build.

If the Release version is crashing but the Debug version isn't, I would start by checking the GCC Compiler Settings and comparing them for the two versions. You can check the settings by choosing "Edit Active Target" as above, and then you should see an entry for "GCC Compiler Settings". I would start with the compiler version being used and the list of "Other C Compiler Flags".

Hope that helps.