Note: despite the name, this is in fact session state changed.
| 349 | |
| 350 | // Note: despite the name, this is in fact session state changed. |
| 351 | void 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 | |
| 366 | void MIBreakpointController::createBreakpoint(int row) |
| 367 | { |
nothing calls this directly
no test coverage detected