View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-07-2012 , 12:54   Re: Linux Random Unrecoverable Crashes
Reply With Quote #25

Quote:
Originally Posted by moxie2020 View Post
How do I pass the -debug switch to run srcds via gdb? I am utterly confused I have 9 forked servers each running in their own screen. How would I debug them all with this?
Well, if you wanted to, you could rename srcds_run and change srcds_gdb to srcds_run. The problem is that you still need to pass -debug ...

How are your servers being launched? Mine tend to use a shell script that runs either srcds_run (older) or nemrun (newer). Nemrun passes any switches it doesn't recognize on to srcds_run, so you can specify -debug there, too.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline