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

Function resetAndRun

plugins/debuggercommon/tests/testhelper.cpp:141–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void resetAndRun(ActiveStateSessionSpy& spy, IDebugSession* session, RunMode runMode)
142{
143 QVERIFY(session);
144 QVERIFY(spy.hasEnteredActiveState());
145 spy.reset();
146
147 switch (runMode) {
148 case RunMode::Continue:
149 session->run();
150 break;
151 case RunMode::StepInto:
152 session->stepInto();
153 break;
154 case RunMode::StepOut:
155 session->stepOut();
156 break;
157 case RunMode::StepOver:
158 session->stepOver();
159 break;
160 }
161}
162
163bool waitForAWhile(MIDebugSession *session, int ms, const char *file, int line)
164{

Callers

nothing calls this directly

Calls 6

hasEnteredActiveStateMethod · 0.80
resetMethod · 0.45
runMethod · 0.45
stepIntoMethod · 0.45
stepOutMethod · 0.45
stepOverMethod · 0.45

Tested by

no test coverage detected