| 1691 | } |
| 1692 | |
| 1693 | void DAPDebugger::handleUpdateDebugLine() |
| 1694 | { |
| 1695 | auto curFrame = d->stackModel.currentFrame(); |
| 1696 | if (curFrame.line != -1) { |
| 1697 | QString localFile; |
| 1698 | localFile = d->isRemote ? transformRemotePath(curFrame.file) : curFrame.file; |
| 1699 | |
| 1700 | if (QFileInfo(localFile).exists()) { |
| 1701 | editor.setDebugLine(localFile, curFrame.line - 1); |
| 1702 | } else if (!curFrame.address.isEmpty()) { |
| 1703 | disassemble(curFrame.address); |
| 1704 | } |
| 1705 | } |
| 1706 | } |
| 1707 | |
| 1708 | QString DAPDebugger::transformRemotePath(const QString &remotePath) |
| 1709 | { |
nothing calls this directly
no test coverage detected