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

Method jumpTo

plugins/debuggercommon/midebugsession.cpp:757–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757void MIDebugSession::jumpTo(const QUrl& url, int line)
758{
759 if (debuggerStateIsOn(s_dbgNotStarted|s_shuttingDown))
760 return;
761
762 if (url.isValid()) {
763 addCommand(NonMI, QStringLiteral("tbreak %1:%2").arg(url.toLocalFile()).arg(line));
764 addCommand(NonMI, QStringLiteral("jump %1:%2").arg(url.toLocalFile()).arg(line));
765 }
766}
767
768void MIDebugSession::jumpToMemoryAddress(const QString& address)
769{

Callers

nothing calls this directly

Calls 2

toLocalFileMethod · 0.80
isValidMethod · 0.45

Tested by

no test coverage detected