Unfortunately, since spring 0.72 i`m not able to catch crasehs with the debugger anymore. I used to run spring in windowed mode attaching the debugger to the spring.exe at the beginning of the game. i never experienced any problems
however since spring 0.72 this doenst work anymore, spring just quits without the debugger even noticing it. krogothe reported the same problem.
does anyone know how to fix this? it's fairly impossible to continue development effectively without being able to use the debugger
@devs: did you change anything in the project settings?
Catching AI crashes with VS.net debugger
Moderators: hoijui, Moderators
- unpossible
- Posts: 871
- Joined: 10 May 2005, 19:24
Better crash reporting resulted in worse AI debugging, I didn't really think about that
Compile spring with NO_CATCH_EXCEPTIONS defined (and disable catching AI exceptions) and it should let all exceptions through.
I can't put an executable like that online though, since I don't have my development stuff connected to the internet atm.

Compile spring with NO_CATCH_EXCEPTIONS defined (and disable catching AI exceptions) and it should let all exceptions through.
I can't put an executable like that online though, since I don't have my development stuff connected to the internet atm.
Actually, I'm quite happy with debugging now.
I got my debug builds to compile with debug data again after i broke ti during XE9RC14, and now I get nice dialog boxes from spring saying exactly what happened and the cause and where asking if I wanna ignore debug or exit, and then i can carry on or go into the debugger from there.
In fact ti saved me hassle as exceptions in the newly ported TDFParser where being caught by spring even though it was a release build, and it was displaying message boxes.
However a spring related issue.
The debugger shows sometimes spring has an exception thrown. In the event of a re throw spring catches it again and exits, but ti does so without warning, no crash dialogs or error reports not even a message box, which can be very disconcerting tot h user.
I got my debug builds to compile with debug data again after i broke ti during XE9RC14, and now I get nice dialog boxes from spring saying exactly what happened and the cause and where asking if I wanna ignore debug or exit, and then i can carry on or go into the debugger from there.
In fact ti saved me hassle as exceptions in the newly ported TDFParser where being caught by spring even though it was a release build, and it was displaying message boxes.
However a spring related issue.
The debugger shows sometimes spring has an exception thrown. In the event of a re throw spring catches it again and exits, but ti does so without warning, no crash dialogs or error reports not even a message box, which can be very disconcerting tot h user.