MCPcopy Create free account
hub / github.com/KDE/kdevelop / notifyBreakpointDeleted

Method notifyBreakpointDeleted

plugins/debuggercommon/mibreakpointcontroller.cpp:547–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547void MIBreakpointController::notifyBreakpointDeleted(const AsyncRecord& r)
548{
549 const int gdbId = r[QStringLiteral("id")].toInt();
550 const int row = rowFromDebuggerId(gdbId);
551
552 if (row < 0) {
553 // The user may also have deleted the breakpoint via the UI simultaneously
554 return;
555 }
556
557 IgnoreChanges ignoreChanges(*this);
558 breakpointModel()->removeRow(row);
559 m_breakpoints.removeAt(row);
560}
561
562void MIBreakpointController::createFromDebugger(const Value& miBkpt)
563{

Callers 1

processNotificationMethod · 0.80

Calls 3

breakpointModelFunction · 0.85
toIntMethod · 0.80
removeRowMethod · 0.80

Tested by

no test coverage detected