Commit 7351219f authored by hjk's avatar hjk
Browse files

debugger: add breakpoint number and thread id to "stopped" status message

parent 53cfd445
...@@ -1327,7 +1327,10 @@ void GdbEngine::handleStop1(const GdbMi &data) ...@@ -1327,7 +1327,10 @@ void GdbEngine::handleStop1(const GdbMi &data)
} }
if (reason == "breakpoint-hit") { if (reason == "breakpoint-hit") {
showStatusMessage(tr("Stopped at breakpoint.")); QByteArray bpNumber = data.findChild("bkptno").data();
QByteArray threadId = data.findChild("thread-id").data();
showStatusMessage(tr("Stopped at breakpoint %1 in thread %2.")
.arg(_(bpNumber), _(threadId)));
} else { } else {
if (reason == "signal-received" if (reason == "signal-received"
&& theDebuggerBoolSetting(UseMessageBoxForSignals)) { && theDebuggerBoolSetting(UseMessageBoxForSignals)) {
......
Markdown is supported
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