[quake3] Intel Mac Services

Tony J. White tjw at webteam.net
Wed May 17 15:04:05 EDT 2006


On Wed, May 17, 2006 at 12:31:21PM -0600, Scott Harper wrote:
> I suppose I should be ashamed to admit this, but... I've never used a debugger 
> outside an IDE before... -.-;;  I'm a master at XCode debugging and NetBeans 
> debugging.  I've even done a little in Eclipse.  But I've never flat-out used 
> GDB from the terminal. (Mac OS X defauls to bash.)
> 
> Any hints?

Crash course:

1) ssh into your mac from another machine
2) cd to your directory that contains quake3.x86
3) run 'gdb'
4) at the gdb> prompt run 'file quake3.x86' then 'run'
5) get quake3 to crash
6) run 'bt' at your gdb prompt

That should give you a backtrace of the function calls leading up to the
crash.  You may need to 'make debug' to get the symbol names in the binary
though.

Perhaps the ssh part can be left off if you can get quake3 to run in a window
like Tim suggested, but I was under the impression that windowed mode didn't
work on OS X.

-Tony



More information about the quake3 mailing list