How to start debugging?

I learned C, and I would like to start improving open source software. I would like to remove one annoying bug in GTK +. To see the error, I need to use Gedit.

How can I download GTK + and gedit sources and compile both of them so that I can see where the error is? And I never used a debugger on Linux, so is there a tutorial somewhere for this?

+5
source share
5 answers

Here you can get information about downloading and compiling gedit: http://projects.gnome.org/gedit/developers.html

My optional debugger is GDB: http://www.gnu.org/software/gdb/

GDB - , . IDE, Eclipse, GDB.

+8

Linux gdb. , , , FOSS. gdb, - .

+5

gdb - , . - , (!) Windows Unix. , (DDD) gdb. , GUI , , , gdb.

valgrind . KDE valgrind; Gnome.

+2

, , gedit gtk + sources. , , .

Linux ?

, , , - . , , , , (, apt-get source libgtk-2.0 Debian Ubuntu).

, (, libgtk2.0-0-dbg Debian), , , . , valgrind .

0

All Articles