| 1178 | } |
| 1179 | |
| 1180 | void DebuggerTestBase::testMultipleBreakpoint() |
| 1181 | { |
| 1182 | auto* const session = createTestDebugSession(); |
| 1183 | TestLaunchConfiguration cfg("debuggee_debugeemultiplebreakpoint"); |
| 1184 | |
| 1185 | // there will be about 3-4 breakpoints, but we treat it like one |
| 1186 | auto* const breakpoint = breakpoints()->addCodeBreakpoint("debugeemultiplebreakpoint.cpp:52"); |
| 1187 | |
| 1188 | const ActiveStateSessionSpy sessionSpy(session); |
| 1189 | START_DEBUGGING_AND_WAIT_FOR_PAUSED_STATE_E(session, cfg, sessionSpy); |
| 1190 | QCOMPARE(breakpoints()->breakpoints().size(), 1); |
| 1191 | |
| 1192 | breakpoint->setData(Breakpoint::EnableColumn, Qt::Unchecked); |
| 1193 | session->run(); |
| 1194 | WAIT_FOR_STATE(session, IDebugSession::EndedState); |
| 1195 | } |
| 1196 | |
| 1197 | void DebuggerTestBase::testRegularExpressionBreakpoint() |
| 1198 | { |
nothing calls this directly
no test coverage detected