| 606 | } |
| 607 | |
| 608 | void DebugController::toggleBreakpoint() |
| 609 | { |
| 610 | if (KDevelop::IDocument* document = KDevelop::ICore::self()->documentController()->activeDocument()) { |
| 611 | KTextEditor::Cursor cursor = document->cursorPosition(); |
| 612 | if (!cursor.isValid()) return; |
| 613 | breakpointModel()->toggleBreakpoint(document->url(), cursor); |
| 614 | } |
| 615 | } |
| 616 | |
| 617 | void DebugController::showCurrentLine() |
| 618 | { |
nothing calls this directly
no test coverage detected