Storyline, Quests, Ideas, Dialogs -manager
SearchWiki:

Project navigation

Documents

ToDo

Old stuff

PmWiki

Recent Changes Printable View Page History Edit Page

Intro

To help out blablabla


GDB

Windows

For GDB under windows, look here http://freedroid.sourceforge.net/dev_docu/node4.html

Linux

Install gdb if you dont already have it on your system.

1) Start gdb:
gdb --args freedroidRPG -wqr1
2) To start the game type:
run
3) Reproduce crash.
4) Type:
bt full
5) Attach the output to the bug report or e-mail directly to the developer if they asked for that.
6) To exit from gdb type
quit


Valgrind

Install valgrind and kcachegrind if you dont already have them on your system.

valgrind is a memory utility that does profiling among other things
kcachegrind is the GUI for better visualisation of the results

Valgrind - memcheck

1) Run
valgrind --tool=memcheck ./freedroidRPG -wqr0
2) Reproduce problem
3) Attach the full output to the bug report or e-mail directly to the developer if they asked for that.

Valgrind - profiling (callgrind)

1) Run
valgrind --tool=callgrind --instr-atstart=no ./freedroidRPG -wqr0
2) Get ready to reproduce the issue (eg load a savegame)
3) enable profiling my issuing "callgrind_control -i on" in another terminal
4) reproduce the problem
5) quit the game
6) start kcachegrind
7) Report the info somehow...
Edit Page - Page History - Printable View - Recent Changes - WikiHelp - SearchWiki
Page last modified on February 05, 2009, at 08:28 AM