File: debug_mode.mdwn

package info (click to toggle)
pumpa 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,644 kB
  • ctags: 1,456
  • sloc: cpp: 8,255; ansic: 3,533; xml: 20; makefile: 7
file content (23 lines) | stat: -rw-r--r-- 834 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
If you experience crashes it may be useful to run Pumpa in debug
mode.  Right now you'll need to recompile it for that with the
following steps:

    cd pumpa
    make clean
    qmake CONFIG+=debug
    make
    
In addition to adding debugger support to the executable, using debug mode will also cause Pumpa
to display a lot more output to the terminal (stdout), e.g. when it is making HTTP requests, 
and other information potentially useful when debugging.

To run Pumpa in the debugger (you need to have `gdb` installed) type:

    gdb ./pumpa

Inside gdb you then start Pumpa with the command `run`. If it has
crashed you'll be thrown back to the debugger, then type `where`,
which will tell you where it crashed. This information can be very
useful (in particular the first 10-20 lines), please include it if you
report a bug.