HowTo:Use GDB
From VsWiki
HowTo:Compile from CVS
| HowTos
| Use Dr Watson
|
Contents |
[edit]
Using GDB with Vegastrike
This page provides information on how to use GDB to help debug Vegastrike.
[edit]
Debugging process
[edit]
Game compilation
- First you have to configure Vegastrike with the
--enable-debugoption in addition to your others:./configure <your other parameters> --enable-debug
- Then
makeyour Vegastrike binary:make
Please make sure you have enough disk space available before doing this. Compiling Vegastrike with --enable-debug eats up a huge amount of disk space.
[edit]
Run GDB
- Start
gdb(GNU Debugger):gdb /path/to/vegastrike
- Start the game by typing this into the gdb-console:
run
- When the error occurs or it dies type
print *this backtrace full up print *this up print *this
[edit]
See also
The content of this site is mostly take from this post in the forum.
HowTo:Compile from CVS
| HowTos
| Use Dr Watson
|

