summaryrefslogtreecommitdiffstats
path: root/Source/cmDebuggerBreakpointManager.h
diff options
context:
space:
mode:
authorBen McMorran <bemcmorr@microsoft.com>2023-07-12 18:25:12 (GMT)
committerBrad King <brad.king@kitware.com>2023-07-13 12:44:52 (GMT)
commit60b6383993013e720092025032a5844caac03111 (patch)
treebffca6b3e487e18b8df4ec2283ffe532ad4f651c /Source/cmDebuggerBreakpointManager.h
parentd769c59d783f0ffc46d61bb4715b5fb3a68181a8 (diff)
downloadCMake-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.h2
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();
};