#1940: Make asserts continuable (in gdb at least)
-------------------------+--------------------------------------------------
Reporter: cybersphinx | Owner:
Type: patch | Status: new
Priority: major | Milestone: unspecified
Component: other | Version: unspecified
Keywords: | Operating_system: All/Non-Specific
Blockedby: | Blocking:
-------------------------+--------------------------------------------------
This patch detects if Warzone runs under gdb, and if so, doesn't call
assert(), but raise(SIGINT). That makes "c"ontinue in gdb actually
continue the program, and not just go on to the crash handler.
--
Ticket URL: <http://developer.wz2100.net/ticket/1940>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev