Game Development Community

Msvc 7.1 debugger setup?

by Eric Preston · in Torque Game Builder · 08/31/2005 (8:58 am) · 3 replies

I am having trouble getting the debugger to run. When I push F5, I get the following dialog: failed to open "main.cs"

I click and then get: Failed to intialize game, shutting down.

I have the T2D_DEBUG.exe in the Torque2D/SDK/example folder, which also contains main.cs and all the .dll's and mod folders.

Can't figure out what's wrong here. Can anyone help?

Many thanks, in advance.

Eric

#1
08/31/2005 (11:57 am)
Aren't you using a debugger? Can you not simply put a breakpoint on the code attempting to load main.cs and see where it's looking for the file?
#2
08/31/2005 (2:34 pm)
Many thanks, that got me going.

Eric
#3
09/02/2005 (3:31 pm)
You need to set up the parameters in your project under "Debugger".

Set the working directory and the commandline "$(Target) -mod YOURMODNAME"

~neo