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

Method debuggerStateChanged

plugins/debuggercommon/mibreakpointcontroller.cpp:351–364  ·  view source on GitHub ↗

Note: despite the name, this is in fact session state changed.

Source from the content-addressed store, hash-verified

349
350// Note: despite the name, this is in fact session state changed.
351void MIBreakpointController::debuggerStateChanged(IDebugSession::DebuggerState state)
352{
353 IgnoreChanges ignoreChanges(*this);
354 if (state == IDebugSession::EndedState ||
355 state == IDebugSession::NotStartedState) {
356 for (int row = 0; row < m_breakpoints.size(); ++row) {
357 updateState(row, Breakpoint::NotStartedState);
358 }
359 } else if (state == IDebugSession::StartingState) {
360 for (int row = 0; row < m_breakpoints.size(); ++row) {
361 updateState(row, Breakpoint::DirtyState);
362 }
363 }
364}
365
366void MIBreakpointController::createBreakpoint(int row)
367{

Callers

nothing calls this directly

Calls 2

updateStateFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected