Skip to content

Commit

Permalink
Suppress annoying popup about threads terminating.
Browse files Browse the repository at this point in the history
  • Loading branch information
epasveer committed Apr 21, 2023
1 parent 60ef4db commit fb27702
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/SeerMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,10 @@ void SeerMainWindow::handleText (const QString& text) {
return;
}

if (newtext == "^error,msg=\"The current thread has terminated\"") {
return;
}

// Display the error message.
QString msg_text = Seer::parseFirst(text, "msg=", false);

Expand Down
26 changes: 26 additions & 0 deletions tests/hellosegv/README.rr
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

Record a RR session.

https://github.com/rr-debugger/rr/wiki/Usage

$ rr record -n hellosegv one two three

Replay the RR session in gdb.

$ rr replay

Using RR in a gui debugger. Basically, attach to the rr server port.

https://github.com/rr-debugger/rr/wiki/Using-rr-in-an-IDE

$ rr replay -s 50505 -k

$ rr replay -s 50505 -k
Launch gdb with
gdb '-l' '10000' '-ex' 'set sysroot /' '-ex' 'target extended-remote 127.0.0.1:50505' /nas/erniep/Development/seer/tests/hellosegv/hellosegv

In a different terminal, use "Connect" method in Debug dialog and connect to "127.0.0.1:50505".

$ seergdb --connect localhost:50505


0 comments on commit fb27702

Please sign in to comment.