
cgdb
cgdb is a lightweight curses (terminal-based) interface to the GNU Debugger (GDB). In addition to the standard gdb console, cgdb provides a split screen view that displays the source code as it executes.
CGDB Manual 0.8.0 - GitHub Pages
Summary of CGDB. CGDB is a curses-based interface to the GNU Debugger (GDB). The goal of CGDB is to be lightweight and responsive; not encumbered with unnecessary features. The interface is designed to deliver the familiar GDB text interface, with a split screen showing the source as it executes. The UI is modeled on the classic Unix text ...
CGDB Manual 0.8.0: Source Window - GitHub Pages
CGDB has several features that make debugging easier than using plain old GDB. One feature you will notice right away while debugging a C, C++ or ADA program, is that the source files are syntax highlighted.
CGDB Manual 0.8.0: Configuring CGDB - GitHub Pages
4 CGDB configuration commands. By default, CGDB stores its user-specific files (such as command history, program logs, and config files) in the ~/.cgdb/ directory. This location is configurable; if the environment variable CGDB_DIR is set to a directory name, CGDB will use the specified directory instead of ~/.cgdb/.
CGDB Manual 0.8.0 - GitHub Pages
Understanding the core concepts of CGDB • Controlling CGDB: CGDB commands • Configuring CGDB: CGDB configuration commands • Highlighting Groups: CGDB highlighting groups • Key User Interface: CGDB key user interface • Terminal Control Flow: Allowing terminal control flow in CGDB • Building CGDB: Building CGDB from source
CGDB Manual 0.8.0: GDB Mode - GitHub Pages
When in command mode, CGDB will pass along any other keys to the readline library. When readline has determined that a command has been received, it alerts CGDB, and a command is then sent to GDB. The commands available in GDB Mode when in scroll mode are: cgdbmodekey. Switch back to source window. This is defaulted to the ESC key. page up ...
While the user is debugging, via next and step, CGDB will update the source file and line number to keep you informed as to where GDB is debugging. CGDB has several features that make debugging easier than using plain old GDB. One feature you will notice right away while debugging a C, C++ or ADA program, is that the source files are syntax ...
CGDB Manual 0.8.0: Key User Interface - GitHub Pages
The Key User Interface is how CGDB receives input from the user. It is usually referred to as the KUI . CGDB simply asks the KUI for the next key the user typed and the KUI will provide it.
CGDB Manual 0.8.0: Switching Windows - GitHub Pages
The cgdb mode key is the key that is responsible for switching the user into CGDB mode from a different mode. The cgdb mode key is defaulted to the ESC key. To change this value, look at the configuration options for CGDB.
CGDB Manual 0.8.0: Using Maps - GitHub Pages
CGDB fully supports the use of maps. It allows the user to change the meaning of typed keys. For example, you could have the following map :map <F2> ip<Space>argc<CR> .