mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
1735dc7f8a
It seems possible! Probably need a new Debug tab called "RR" so that I have a way to set the direction arrow ( <-- or --> ) and hide the "record" button. Because RR is just replaying the prevously recorded session. So "forward" and "back" buttons make sense. And no "record" button make sense.
26 lines
633 B
Plaintext
26 lines
633 B
Plaintext
Notes for using RR with Seer.
|
|
|
|
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
|
|
|
|
|
|
Then use "Connect" method in Debug dialog and connect to "127.0.0.1:50505".
|
|
|