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

Method stateChanged

kdevplatform/debugger/framestack/framestackmodel.cpp:420–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420void FrameStackModel::stateChanged(IDebugSession::DebuggerState state)
421{
422 Q_D(FrameStackModel);
423
424 if (state == IDebugSession::PausedState) {
425 setCurrentFrame(-1);
426 d->m_updateCurrentFrameOnNextFetch = true;
427 } else if (state == IDebugSession::EndedState || state == IDebugSession::NotStartedState) {
428 setThreads(QVector<FrameStackModel::ThreadItem>());
429 }
430}
431
432// FIXME: it should be possible to fetch more frames for
433// an arbitrary thread, without making it current.

Callers 1

updateStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected