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

Method jumpToCursor

plugins/debuggercommon/midebugsession.cpp:680–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678}
679
680void MIDebugSession::jumpToCursor()
681{
682 if (IDocument* doc = ICore::self()->documentController()->activeDocument()) {
683 KTextEditor::Cursor cursor = doc->cursorPosition();
684 if (cursor.isValid())
685 jumpTo(doc->url(), cursor.line() + 1);
686 }
687}
688
689void MIDebugSession::stepOver()
690{

Callers

nothing calls this directly

Calls 6

activeDocumentMethod · 0.80
documentControllerMethod · 0.80
cursorPositionMethod · 0.45
isValidMethod · 0.45
urlMethod · 0.45
lineMethod · 0.45

Tested by

no test coverage detected