diff options
author | Ben McMorran <bemcmorr@microsoft.com> | 2023-07-12 18:25:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-07-13 12:44:52 (GMT) |
commit | 60b6383993013e720092025032a5844caac03111 (patch) | |
tree | bffca6b3e487e18b8df4ec2283ffe532ad4f651c /Source/cmDebuggerBreakpointManager.h | |
parent | d769c59d783f0ffc46d61bb4715b5fb3a68181a8 (diff) | |
download | CMake-60b6383993013e720092025032a5844caac03111.zip CMake-60b6383993013e720092025032a5844caac03111.tar.gz CMake-60b6383993013e720092025032a5844caac03111.tar.bz2 |
Debugger: Always clear existing breakpoints on setBreakpoints
Fixes: #25063
Diffstat (limited to 'Source/cmDebuggerBreakpointManager.h')
-rw-r--r-- | Source/cmDebuggerBreakpointManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmDebuggerBreakpointManager.h b/Source/cmDebuggerBreakpointManager.h index a4e5df5..747722f 100644 --- a/Source/cmDebuggerBreakpointManager.h +++ b/Source/cmDebuggerBreakpointManager.h @@ -4,6 +4,7 @@ #include "cmConfigure.h" // IWYU pragma: keep +#include <cstddef> #include <cstdint> #include <mutex> #include <string> @@ -55,6 +56,7 @@ public: std::vector<cmListFileFunction> const& functions); std::vector<int64_t> GetBreakpoints(std::string const& sourcePath, int64_t line); + size_t GetBreakpointCount() const; void ClearAll(); }; |