Skip to content

Commit

Permalink
Fixed issue #266.
Browse files Browse the repository at this point in the history
  • Loading branch information
epasveer committed Dec 27, 2024
1 parent e9e58ed commit 74d6252
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
20 changes: 20 additions & 0 deletions src/SeerMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 74d6252

Please sign in to comment.