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
Feature request: run rr under cgdb #1888
Comments
I don't know anything about
|
These don't appear to work correctly so this may be more complex than I initially thought. Some observations:
EDIT: I meant |
|
(Resizing the window fixes everything.) |
The
but after entering the
Trying to run
If I enter
The program then seems to stall for a long time until I press
Pressing
But the particular function it stops in will be unpredictable. At this point,
and running another Regarding the output issue, yes, that is what appears to be happening. My debugee produced a lot of output, so the UI seemed to be completely broken at first. Resizing does fix it. |
Try |
You're right, that does fix it. It's surprising that gdb behaves exactly the same for everything I described above. I could have sworn it did not, but I guess I must have always set a breakpoint somewhere in the program before running it, when doing real debugging. Do you have an idea what causes output to be echoed in the upper pane? I'd love to fix this since then it would be perfect, though it's already usable with the resizing trick. |
When you run |
So I think the options are
|
Done that in 66118a3. Just a minor tweak. |
That sounds quite reasonable and having the output in a separate window might even be nicer than in the same window. Also, thanks for the nice UI improvement! I think this can be closed. |
It seems like when using 'rr replay -s ' you don't get rr's overrides of commands like 'checkpoint'. Is there a way to fix that? |
Yes. Pipe the output of |
When I use |
Is it possible to run rr under the cgdb TUI?
I know about
rr gdbinit
andgdb
's-ix
argument so I tried passingrr
's setup script like that, and it starts and seemingly configurescgdb
successfully. However, then I've never calledrr replay
and I don't know how to do it from insidegdb
and whether it is even possible.It seems the support for this is already almost there so it would be nice to support it explicitly, maybe through a
rr
flag.The text was updated successfully, but these errors were encountered: