I'm having problem debugging C++ source
by Martin Ortiz · in Torque Game Engine Advanced · 02/03/2007 (3:45 pm) · 2 replies
I did a debug build, I checked the setting and debug info is included, but I can't seem to step into the C++ source code, it just runs. It aborts with error about main.cs (can't find it).
I set the working directory to the one with main.cs in it. In either case, I can't seem to step into the code.
Which source file, has the entry point for the program?
I set the working directory to the one with main.cs in it. In either case, I can't seem to step into the code.
Which source file, has the entry point for the program?
#2
"I can't seem to step into the C++ source code" Make sure the configuration is set to debug. Everybody at one time or another has tried to debug but found they forgot to set the solution configuation to debug.
02/06/2007 (2:17 pm)
"I set the working directory to the one with main.cs" your working directory should be set to ..\example and your command arguments set to something like -game terrain_water_demo (if you have not already setup the default game to run in example/main.cs ($defaultGame = "terrain_water_demo";))"I can't seem to step into the C++ source code" Make sure the configuration is set to debug. Everybody at one time or another has tried to debug but found they forgot to set the solution configuation to debug.
Torque Owner Dennis Trevillyan
WatreGames