Chapter 4. Debugging Bluefish

Table of Contents

1. Using the Debugger

1. Using the Debugger

Obviously, this chapter needs some work.

  • get the latest CVS release (info on the development page)

  • use ./configure --with-debugging-output

  • make clean

  • make

  • do not run make install since it strips the debugging symbols from the executable

  • use 'gdb src/bluefish' to run bluefish in the debugger, do not run gdb bluefish or gdb /usr/local/bin/bluefish since these binaries do not have any debugging symbols anymore

  • type 'r' to start

  • reproduce the crash

  • copy & paste the last 50 lines of debugging output to an email

  • type 'bt' to get the backtrace info, and copy it also to the mail (if it is over 50 lines, the first lines of the backtrace info are the most interesting)

  • send the mail to the general address, the mailing list or a specific developer