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

Method clearCurrentPosition

kdevplatform/debugger/interfaces/idebugsession.cpp:92–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void IDebugSession::clearCurrentPosition()
93{
94 Q_D(IDebugSession);
95
96 // Pad output with spaces to align the printed position and facilitate comparison with setCurrentPosition().
97 qCDebug(DEBUGGER) << "clearing current position: " << PrintPosition{d->m_url, d->m_line, d->m_addr};
98
99 d->m_url.clear();
100 d->m_addr.clear();
101 d->m_line = -1;
102 emit clearExecutionPoint();
103}
104
105void IDebugSession::setCurrentPosition(const QUrl& url, int line, const QString& addr)
106{

Callers 1

slotStateChangedMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected