| 90 | } |
| 91 | |
| 92 | void 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 | |
| 105 | void IDebugSession::setCurrentPosition(const QUrl& url, int line, const QString& addr) |
| 106 | { |