dcmake: a new GUI debugger UI for CMake

April 12, 2026
A laptop screen showing programming code and debugging tools, ideal for tech topics.
Photo by Daniil Komov on Pexels

What it is

dcmake is a native, cross‑platform debugger front end for CMake that talks to CMake’s Debugger Adaptor Protocol (DAP). It has been reported that the author put a working prototype together in about 30 minutes and a full GUI the same day — a speed that speaks as much to modern tooling as to one developer’s focus. The UI is built with Dear ImGui (docking branch), mirrors familiar Visual Studio keybindings (F10, F11, F5, Shift+F5), supports clickable breakpoints and hover-to-inspect variables, and preserves window state across sessions. Who wouldn’t want to step through a CMakeLists.txt line by line?

How it works

Under the hood, dcmake runs on GLFW/OpenGL 3 on macOS and Linux and uses Win32/DirectX11 on Windows. Program arguments feed straight into CMake via a top‑left arguments field, and the tool sets CMake paused on the first line so you can immediately F10 through configuration steps; it also supports -P script mode but not debugging of --build invocations, since there’s no CMake left to control at that point. It has been reported that the Windows build supports Unicode paths without a UTF‑8 manifest — a behavior the author says required avoiding standard C++ I/O — and that the app opens nearly instantly.

Why it matters

Beyond the immediate utility for CMake maintainers and build-system spelunkers, dcmake is a neat example of rapid prototyping amplified by modern aids: the author says AI helped generate UI code and assets, shaving days off development. It has been reported that the next w64devkit release will bundle dcmake, which should make it easier to try. Will this change how people debug build logic? Maybe — at least now you can treat CMake more like code and less like mystical black magic.

Sources: nullprogram.com, Hacker News