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

Method sessionIsAlive

plugins/debuggercommon/mivariable.cpp:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28} // unnamed namespace
29
30bool MIVariable::sessionIsAlive() const
31{
32 if (!m_debugSession)
33 return false;
34
35 IDebugSession::DebuggerState s = m_debugSession->state();
36 return s != IDebugSession::NotStartedState
37 && s != IDebugSession::EndedState
38 && !m_debugSession->debuggerStateIsOn(s_shuttingDown);
39}
40
41MIVariable::MIVariable(MIDebugSession *session, TreeModel* model, TreeItem* parent,
42 const QString& expression, const QString& display)

Callers

nothing calls this directly

Calls 2

debuggerStateIsOnMethod · 0.80
stateMethod · 0.45

Tested by

no test coverage detected