Debugging In Visual Studio with ETQW


(Fawcett) #1

Hello,

This is probably a noob question but I am trying to program a mod for ETQW and I am having trouble getting the breakpoints to hit. I have a post build event to copy the gamex86.dll to the base folder and everything works properly when I load the mod through the executable outside of Visual Studio. However, when I run the build with Edit and Continue through Visual Studio (2005 Express), I don’t know how to get it to work. It asked me for the executable so I gave it the path but it gives me an error saying “Debugging information for ‘etqw.exe’ cannot be found or doesn’t match. No symbol loaded.” If I continue from this point the executable starts and gives me an error “Couldn’t Load fs.chk.”

Any help would be very appreciated. Once I can get my breakpoints working it will make my job much easier.


(Fawcett) #2

Well I got the debugging working if I manual attach it to the process if the game is running. Although this is a hassle it fixes my problem I guess. The debugger was unable to find the symbols because it couldn’t find the pdb file. I would like to be able to run the game from Visual Studio but I guess this works.


(jRAD) #3

[QUOTE=Fawcett;224182]Hello,
[/QUOTE]
Hi!

We don’t provide any debugging information for the game’s executable - this won’t stop you debugging your gamex86.dll though.

You need to right click on your game project in the Solution Explorer, choose Properties, then Debugging, and set the Working Directory to point to the game’s folder.


(Fawcett) #4

[QUOTE=jRAD;224209]
You need to right click on your game project in the Solution Explorer, choose Properties, then Debugging, and set the Working Directory to point to the game’s folder.[/QUOTE]

Hooray! Everything is working now. Thanks for the help!