cgdb
« Back to VersTracker
Description:
Curses-based interface to the GNU Debugger
Type: Formula  |  Latest Version: 0.8.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: debugger gdb curses terminal developer-tools c++
Install: brew install cgdb
About:
CGDB is a lightweight, curses-based front-end for the GNU Debugger (GDB). It provides a split-window interface that displays source code alongside the debugger's command-line interface. This allows developers to debug programs more efficiently by visualizing code context, breakpoints, and execution flow in real-time.
Key Features:
  • Split-screen view showing source code and GDB command interface simultaneously
  • Syntax highlighting for C, C++, and other programming languages
  • Vim-style keybindings for intuitive navigation and control
  • Integrated breakpoints and watchpoints management
  • Source code browsing with call stack visualization
Use Cases:
  • Debugging C/C++ programs with visual source code context
  • Stepping through code execution while viewing variables and call stack
  • Interactive debugging sessions where command-line and visual context are both needed
Alternatives:
  • gdb – GDB is the underlying debugger; CGDB provides a visual interface on top of it
  • lldb – LLDB is LLVM's debugger with native TUI support but different architecture focus
  • VS Code Debugger – Full IDE debugging with GUI; CGDB is lightweight and terminal-based
License: GPL-2.0-or-later
Dependencies: readline
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 14, 2025 2:58pm 0 VERSION_BUMP 6c5f925f