| 95 | } |
| 96 | |
| 97 | void LldbTest::testBreakOnStart() |
| 98 | { |
| 99 | auto *session = new TestDebugSession; |
| 100 | |
| 101 | TestLaunchConfiguration cfg; |
| 102 | cfg.config().writeEntry(KDevMI::Config::BreakOnStartEntry, true); |
| 103 | |
| 104 | ActiveStateSessionSpy sessionSpy(session); |
| 105 | START_DEBUGGING_AND_WAIT_FOR_PAUSED_STATE_E(session, cfg, sessionSpy); |
| 106 | |
| 107 | // line 28 is the start of main function in debugee.cpp |
| 108 | QCOMPARE(session->currentLine(), 27); // currentLine is zero-based |
| 109 | |
| 110 | session->run(); |
| 111 | WAIT_FOR_STATE(session, DebugSession::EndedState); |
| 112 | } |
| 113 | |
| 114 | void LldbTest::testUpdateBreakpoint() |
| 115 | { |
nothing calls this directly
no test coverage detected