Skip to content

Commit a6cabcc

Browse files
ilya-nozhkintkrasnukha
authored andcommitted
Handle watchpoint events
Watchpoint event handling is very similar to breakpoint event handling. So, this commit mostly makes all handling methods template to allow them handle both breakpoint and watchpoint LLDB objects.
1 parent 80bd9c5 commit a6cabcc

File tree

4 files changed

+198
-66
lines changed

4 files changed

+198
-66
lines changed

src/MICmnLLDBDebugger.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ bool CMICmnLLDBDebugger::InitSBListener() {
389389

390390
const CMIUtilString strDbgId("CMICmnLLDBDebugger1");
391391
MIuint eventMask = lldb::SBTarget::eBroadcastBitBreakpointChanged |
392+
lldb::SBTarget::eBroadcastBitWatchpointChanged |
392393
lldb::SBTarget::eBroadcastBitModulesLoaded |
393394
lldb::SBTarget::eBroadcastBitModulesUnloaded |
394395
lldb::SBTarget::eBroadcastBitWatchpointChanged |

0 commit comments

Comments
 (0)