Handle a generic "*stopped" message better.

dprintf will result in a very plain "*stopped" message if the
dprintf is told to call a function that may throw an exception, thus
calling std::terminate.
This commit is contained in:
Ernie Pasveer
2022-02-20 17:51:06 -06:00
parent 8fd9c78ed7
commit 2845d3b887
6 changed files with 21 additions and 6 deletions
+2 -1
View File
@@ -51,7 +51,8 @@ void SeerRunStatusIndicator::handleText (const QString& text) {
// *running,thread-id="2"
setRunStatus(SeerRunStatusIndicator::Running);
}else if (text.startsWith("*stopped,")) {
}else if (text.startsWith("*stopped")) {
setRunStatus(SeerRunStatusIndicator::Stopped);
//^connected,frame={level=\"0\",addr=\"0x00007f48351f80c1\",func=\"read\",args=[],from=\"/lib64/libc.so.6\",arch=\"i386:x86-64\"}"