Skip to content

cmake: Add debugger

Glen Chung requested to merge glenchung/cmake:dev/kuchung/CMakeDebugger into master

CMake Debugger

  • Depends on !8341 (closed) EDIT: nlohmann-json is no longer needed, see !8338 (comment 1365780).
  • Depends on cppdap (!8342 (merged)) and jsoncpp.
  • Add --debugger argument to enable the Debugger.
  • Add --debugger-pipe argument for DAP traffics over named pipes.
  • Support breakpoints by filenames and line numbers.
  • Support exception breakpoints.
  • Call stack shows filenames and line numbers.
  • Show Cache Variables.
  • Show the state of currently defined targets, tests and directories with their properties
  • Add cmakeVersion to DAP initialize response.
  • Include unit tests.
  • Some screenshots
Screenshots (click to expand)

image image image image image image

Topic-rename: cmake-debugger

Edited by Brad King

Merge request reports