Commit 524604fe authored by hjk's avatar hjk
Browse files

debugger: always try to set the location marker early

Gives a smoother impression.
parent cd190875
......@@ -1286,10 +1286,10 @@ void GdbEngine::handleStop2(const GdbMi &data)
// FIXME: Hack, remove as soon as we get real stack traces.
if (m_gdbAdapter->isTrkAdapter()) {
// Quick shot
if (fullName.isValid()) {
StackFrame f;
f.file = QString::fromLocal8Bit(;
f.file = QFile::decodeName(;
f.line = frame.findChild("line").data().toInt();
f.address = _(frame.findChild("addr").data());
gotoLocation(f, true);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment