-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use GDBFrontend with rr (record & replay) debugger #67
Comments
You can do it in the same way as you do with only GDB, GDBFrontend delivers a terminal emulator at the bottom but buttons would be so nice. I think you mean packaging |
Oh I see. I wish you to take a look at rr debugger one day (it works on WSL too). RR is such an amazing debugger and I use it all the time. It is a game changer. GDB's RR debugger, on the other hand, was made by Mozilla for debugging large executables like firefox browser. And the reason I'm suggesting you to implement it is that, in their documentation, it says
https://github.com/rr-debugger/rr/wiki/Using-rr-in-an-IDE I'm not into details but it seems it might be easy to integrate rr into your debugger, with just a little tweak. I see other gdb GUI frontends like It will be definitely appealing to c/cpp/rust/go community if you support rr with your debugger. |
Amazing news! It just works with RR debugger!! I had been trying to figure it out by myself for three days and almost got frustrated, but I eventually succeeded by thoroughly reading the RR debugger's documentation. It turned out to be quite simple. Steps to use gdb-frontend with RR debuggerterminal 1$ rr record <my program>
$ rr replay -s 9999 -k
... terminal 2$ gdbfrontend
... Then, go to the webpage and connect to localhost:9999 Then, type the following in the gdb command line set sysroot / Then set a breakpoint and continue and you are good to go. It works like a charm!!!! The effects of reverse commands, such as reverse step, reverse continue, and reverse next, are also displayed perfectly on the screen (unlike in VS Code, where they currently do not). Thank you so much for creating such an amazing project. The only thing I would like to see added is support for reverse buttons, though they are not necessary since I can always use the command line. I appreciate your hard work. If you don't mind, I recommend you to:
I believe many people like me would get to know about this project and appreciate your great work. You are at the forefront of improving the welfare of Linux developers. Thanks again. |
It will be amazing if this awesome project supports rr (record and replay) debugger.
Adding a 'reverse step' and 'reverse next' button would be amazing too!
The text was updated successfully, but these errors were encountered: