| 426 | } |
| 427 | |
| 428 | void GdbTest::testBreakpointDisabledOnStart() |
| 429 | { |
| 430 | auto *session = new TestDebugSession; |
| 431 | |
| 432 | TestLaunchConfiguration cfg; |
| 433 | |
| 434 | breakpoints()->addCodeBreakpoint(debugeeUrl(), 28)->setData(KDevelop::Breakpoint::EnableColumn, Qt::Unchecked); |
| 435 | breakpoints()->addCodeBreakpoint(debugeeUrl(), 29); |
| 436 | auto* const b = breakpoints()->addCodeBreakpoint(debugeeUrl(), 31); |
| 437 | b->setData(KDevelop::Breakpoint::EnableColumn, Qt::Unchecked); |
| 438 | |
| 439 | START_DEBUGGING_E(session, cfg); |
| 440 | WAIT_FOR_STATE_AND_IDLE(session, DebugSession::PausedState); |
| 441 | QCOMPARE(session->line(), 29); |
| 442 | b->setData(KDevelop::Breakpoint::EnableColumn, Qt::Checked); |
| 443 | session->run(); |
| 444 | WAIT_FOR_STATE(session, DebugSession::PausedState); |
| 445 | QCOMPARE(session->line(), 31); |
| 446 | session->run(); |
| 447 | WAIT_FOR_STATE(session, DebugSession::EndedState); |
| 448 | } |
| 449 | |
| 450 | void GdbTest::parseBug304730() |
| 451 | { |
nothing calls this directly
no test coverage detected