Difference between revisions of "HowTo:Use GDB"
m |
m (Fixed Navigation elements) |
||
| Line 1: | Line 1: | ||
{{NAV_Manual | | {{NAV_Manual | | ||
| − | | previous=[[HowTo:Compile from | + | | previous=[[HowTo:Compile_from_released_source|Compile from the released source]] |
| up=[[HowTos]] | | up=[[HowTos]] | ||
| next=[[HowTo:Use Dr Watson|Use Dr Watson]] | | next=[[HowTo:Use Dr Watson|Use Dr Watson]] | ||
| Line 37: | Line 37: | ||
---- | ---- | ||
{{NAV_Manual | | {{NAV_Manual | | ||
| − | | previous=[[HowTo:Compile from | + | | previous=[[HowTo:Compile_from_released_source|Compile from the released source]] |
| up=[[HowTos]] | | up=[[HowTos]] | ||
| next=[[HowTo:Use Dr Watson|Use Dr Watson]] | | next=[[HowTo:Use Dr Watson|Use Dr Watson]] | ||
Revision as of 16:51, 20 December 2009
Compile from the released source
|
HowTos
|
Use Dr Watson
|
Contents
Using GDB with Vegastrike
This page provides information on how to use GDB to help debug Vegastrike.
Debugging process
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.
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
See also
The content of this site is mostly take from this post in the forum.
Compile from the released source
|
HowTos
|
Use Dr Watson
|