Debug CMake project files | Qt Creator Documentation

- Qt Creator Documentation
- Debug CMake project files
- Qt Creator 19.0.0

Debug C++ applications on VxWorks devices ◦ Debug crashed processes on Windows

# Debug CMake project files

With the Qt Creator implementation of the Debug Adapter Protocol (DAP), you can debug CMake project files.

Note: You need CMake 3.27 or later for DAP.

To debug CMake project files:

1. In the Edit mode, set breakpoints in a CMake file.
2. Go to Debug > Start Debugging > Start CMake Debugging.

When the application stops at a breakpoint, you can examine data in the Debug mode views.

See also How to: Debug, Debugging, Debuggers, and CMake.

Debug C++ applications on VxWorks devices ◦ Debug crashed processes on Windows