Anyone have luck w/ debugging a Linux server?
For some reason my segfaults upon startup under linux. Says the error is
line 134, but doesn't say what file it came from, so I have no clue how
to go about fixing it.
I found some tips on gdb (a GNU debugger) here:
It will also load under VS.NET 2002 (7.0) if you change the version in
the project files. (.vcproj)
-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] På vegne af Draco
Sendt: 10. januar 2005 13:59
Til: hlcoders@list.valvesoftware.com
Emne: Re: [hlcoders] [ Basic
DOOManiac wrote:
I addedgdb --args ./srcds_i486 -game modname -norestartto my
srcds_run (actually, I copied that as srcds_run_debug and edited the
copy). I run the command and it leaves me at a gdb prompt, but from
there I have no idea what to do.
The gbx command 'r' will run the
Thanks for the help. That's the -g option correct? If so, then yes.
I tried r at the (gbd) prompt, and it tried to startup, but then said
there was no process. Here's a copy paste:
[EMAIL PROTECTED] steam]$ ./srcds_run_debug -console -game espionage
-IP jmetcalf.2y.net -port 27017 +map esp_test
On Sat, 15 Jan 2005 15:44:15 -0600, DOOManiac
[EMAIL PROTECTED] wrote:
Thanks for the help. That's the -g option correct? If so, then yes.
I tried r at the (gbd) prompt, and it tried to startup, but then said
there was no process. Here's a copy paste:
I suspect your script to run gdb is
Still can't get it working :(
[EMAIL PROTECTED] steam]$ gdb srcds_i486
GNU gdb Red Hat Linux (6.1post-1.20040607.43rh)
*SNIP*
This GDB was configured as i386-redhat-linux-gnu...Using host
libthread_db library /lib/tls/libthread_db.so.1.
(gdb) set args -console -game espionage -IP jmetcalf.2y.net
Run this command before running gdb:
export LD_LIBRARY_PATH=.:bin:$LD_LIBRARY_PATH
- Alfred
Original Message
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of DOOManiac
Sent: Saturday, January 15, 2005 3:34 PM To:
hlcoders@list.valvesoftware.com Subject: Re: [hlcoders]
DOOManiac wrote:
Still can't get it working :(
[EMAIL PROTECTED] steam]$ gdb srcds_i486
GNU gdb Red Hat Linux (6.1post-1.20040607.43rh)
*SNIP*
This GDB was configured as i386-redhat-linux-gnu...Using host
libthread_db library /lib/tls/libthread_db.so.1.
(gdb) set args -console -game espionage -IP
You should only have 1 steam.dll per installation, and it should be in
your base steam folder (where steam.exe is). If you have a steam.dll up
in your half-life 2\bin directory, you'll be in trouble when there's an
update.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Hm... Okay, well then I guess I can't debug till the kernel is updated.
Still I wonder why the mod crashes in the first place. I went ahead and
did a compile of the fresh,unaltered,straight-from-the-wizard SDK and it
crashes on startup too...
--
Russell DOOManiac Weed
Also try searching for the answer to life, the universe and everything
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeffrey
botman Broome
Sent: Saturday, January 15, 2005 3:41 PM
To: hlcoders@list.valvesoftware.com
Subject: Re: [hlcoders] Debugging a
DOOManiac [EMAIL PROTECTED] writes:
Anyone have luck w/ debugging a Linux server?
I've read this thread I think a run_in_debugger-script of some sort
will save you a lot of time. I used to use something like this when
debugging Science Industry, but I don't have a dedicated server
installed
Try copying hl2.exe into your
C:\Games\Half-Life\steam\SteamApps\SourceMods and run it from there,
rather than from
C:\Games\Half-Life\steam\SteamApps\fragmented\half-life
2\
On Sat, 15 Jan 2005 17:20:24 -0800, Mike Dussault
[EMAIL PROTECTED] wrote:
You should only have 1 steam.dll per
Its all good guys!
Just had to run hl2 once through steam before running it through the
debugger.
Thanks.
- Original Message -
From: Teddy [EMAIL PROTECTED]
To: hlcoders@list.valvesoftware.com
Sent: Sunday, January 16, 2005 4:28 PM
Subject: Re: [hlcoders] filesystem_steam.dll
Try copying
14 matches
Mail list logo