mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
- Depends on cppdap 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. Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
10 lines
405 B
CMake
10 lines
405 B
CMake
cmake_minimum_required(VERSION 3.26)
|
|
project(DebuggerSample NONE)
|
|
message("Hello CMake Debugger")
|
|
|
|
# There are concerns that because the debugger uses libuv for pipe
|
|
# communication, libuv may register a SIGCHILD handler that interferes with
|
|
# the existing handler used by kwsys process management. Test this case with a
|
|
# simple external process.
|
|
execute_process(COMMAND "${CMAKE_COMMAND}" -E echo test)
|