TL;DR
dcmake is a new user interface for debugging CMake projects, enabling interactive manipulation through the Debugger Adaptor Protocol (DAP). This tool enhances the debugging experience by allowing developers to control live CMake processes effectively.
✦ Why It Matters
Start using dcmake today to enhance your CMake debugging workflow and improve productivity.
Key Takeaways
Full Summary
CMake introduced a --debugger mode in version 3.27, enabling interactive debugging through the Debugger Adaptor Protocol (DAP), which uses JSON messages. dcmake, a GUI application built on this mode, allows users to start, stop, and step through CMake scripts easily. The development of dcmake took just a few hours, a process that would have previously taken weeks.
It features a user-friendly interface inspired by Visual Studio, with customizable windows and familiar keybindings. The application runs on macOS, Windows, and Linux, utilizing GLFW and OpenGL or native Win32 and DirectX for rendering.
Notably, it supports Unicode paths on Windows and requires minimal setup for debugging CMake scripts, making it a powerful tool for developers.
Related