diff --git a/CHANGELOG.md b/CHANGELOG.md index e34b497..a2a64f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,8 @@ * Fixed regression when adding commands to a breakpoint. * Refactored/improved Printpoints. Added 'help' to the Printpoint create dialog. +* Fixed regression when display variable value when hovering over + the text in the editor window. ## [2.4] - 2024-03-18 * Changed main icon to a more license friendly one. diff --git a/src/SeerMainWindow.cpp b/src/SeerMainWindow.cpp index deb3b78..6bf33ae 100644 --- a/src/SeerMainWindow.cpp +++ b/src/SeerMainWindow.cpp @@ -885,6 +885,26 @@ void SeerMainWindow::handleText (const QString& text) { return; } + if (msg_text.startsWith("\"A syntax error in expression, near")) { + return; + } + + if (msg_text.startsWith("\"Invalid character ")) { + return; + } + + if (msg_text.startsWith("\"No symbol ")) { + return; + } + + if (msg_text.startsWith("\"Problem parsing arguments: data-evaluate-expression")) { + return; + } + + if (msg_text == "\"Attempt to use a type name as an expression\"") { + return; + } + gdbWidget->addMessage(Seer::filterEscapes(msg_text), QMessageBox::Warning); return;