Engine Debug Problem
by Liu Yi · in Torque Game Engine · 05/18/2006 (7:55 pm) · 1 replies
Hi all, I encounter a problem when I try to debug the Engine code.
After making changes to the engine code, I build the engine in "debug" configuration in VC 7. The building process was successful, and a file named "torqueDemo_DEBUG.exe" was created in the folder "c:\Torque\SDK\example". When I run this exe file, it is exactly the game that I want to debug. But When I tried to debug in VC 7 by clicking "Start", an console window popped up. There's no content inside the console window. The title of the window is "c:\Torque\Sdk\example\torqueDemo_DEBUG.exe". Then another window popped up which is a game window. But this game is not the game that I want to debug. Instead, it's called "Torque SDK Feature Demo". It's like a TGE website, with some demo pictures, and some text introducing TGE. At the bottom right of the window is a red button with text "$100 buy now".
The TGE that I use is not the free trial version but purchased version. Who can tell me what is wrong here? And how can I debug the engine?
After making changes to the engine code, I build the engine in "debug" configuration in VC 7. The building process was successful, and a file named "torqueDemo_DEBUG.exe" was created in the folder "c:\Torque\SDK\example". When I run this exe file, it is exactly the game that I want to debug. But When I tried to debug in VC 7 by clicking "Start", an console window popped up. There's no content inside the console window. The title of the window is "c:\Torque\Sdk\example\torqueDemo_DEBUG.exe". Then another window popped up which is a game window. But this game is not the game that I want to debug. Instead, it's called "Torque SDK Feature Demo". It's like a TGE website, with some demo pictures, and some text introducing TGE. At the bottom right of the window is a red button with text "$100 buy now".
The TGE that I use is not the free trial version but purchased version. Who can tell me what is wrong here? And how can I debug the engine?
Torque 3D Owner James Steele
This important as, Torque looks for a main.cs in the current folder which is not always the same as the executeable. It's this main.cs file that tells the engine which game to run. I think in your case, the working folder should be set to "c:\Torque\SDK\example"