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

Method testVariablesStopDebugger

plugins/debuggercommon/tests/debuggertestbase.cpp:1828–1841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1826}
1827
1828void DebuggerTestBase::testVariablesStopDebugger()
1829{
1830 auto* const session = createTestDebugSession();
1831 TestLaunchConfiguration cfg;
1832
1833 session->variableController()->setAutoUpdate(IVariableController::UpdateLocals);
1834
1835 addDebugeeBreakpoint(39);
1836 ActiveStateSessionSpy sessionSpy(session);
1837 START_DEBUGGING_AND_WAIT_FOR_PAUSED_STATE_E(session, cfg, sessionSpy);
1838
1839 session->stopDebugger();
1840 WAIT_FOR_STATE(session, IDebugSession::EndedState);
1841}
1842
1843void DebuggerTestBase::testVariablesStartSecondSession()
1844{

Callers

nothing calls this directly

Calls 3

setAutoUpdateMethod · 0.80
variableControllerMethod · 0.45
stopDebuggerMethod · 0.45

Tested by

no test coverage detected