Page 1 of 1

debugging group ai

Posted: 18 Jul 2006, 23:17
by esromneb
Is it possible to debug group ai without build spring yourself? VC++ isn't happy if spring doesn't have symbols.

Posted: 18 Jul 2006, 23:33
by AF
huh?

recompile the groupAI in debug mode then start up spring through the debugger, then load the groupAI in spring and start using it.


*move to AI forum please*

Posted: 21 Jul 2006, 08:26
by esromneb
How do I start spring thorugh the debugger? I don't have spring compiled, I just have the relase.

Posted: 21 Jul 2006, 16:57
by AF
Look at the NTai VS project.

Yous et the working directory to your spring folder, and the command as your spring executable with the arguement script.txt, then you just do debug->start and load the groupAI in spring once you're ingame.

Posted: 22 Jul 2006, 02:56
by esromneb
that doesn't work for me. I did exactly what you said, but if I try to set a breakpoint it says the breakpoint will not be hit in a tooltip.


When I start debugging it says "no symbols loaded for spring.exe do you want to continue anways" I think that's my problem. But I don't want to go through the hastle, I just want to debug my ai.

Posted: 22 Jul 2006, 03:23
by AF
Then check you have debugging installed properly.

And have you tried continuing anyway?

Anyways it should look like this

Image

Posted: 24 Jul 2006, 08:55
by esromneb
yes that's exactly how mine is configured. One question: I output the dll in a folder, then I move it via a script. Should I set my output to the real spring folder for this to work?

Posted: 24 Jul 2006, 14:18
by AF
If you want you can but I dont reccomend it.