March 2013
Intermediate to advanced
346 pages
8h 4m
English
CGDB is a terminal-based lightweight interface to the
GNU debugger gdb. It provides a split screen view, which displays the source code along with the debug information. This recipe discusses how to debug Android application with cgdb.
The following instructions install cgdb on different operating systems:
cgdb:
$ sudo apt-get install cgdb
Alternatively, you can download the source code from http://cgdb.github.com/, and perform the following instructions to install cgdb:
$ ./configure --prefix=/usr/local $ make $ sudo make install
Note that cgdb requires libreadline and ncurses development libraries.