Closed bolt-blue closed 2 years ago
You could probably launch your application in a regular terminal, and then attach to it from gf
using the PID?
Thanks @aolo2, it sort of worked. Definitely might be usable. But a bit janky; not sure why. but there's a bit of a disconnect. Not sure how to describe it
I'm happy to take suggestions for how to improve the workflow for attaching to processes.
@nakst Glad to hear :) I will have to experiment more and hopefully can give you some decent feedback.
And thanks for the work, it's so far the only front end to gdb
I like using.
Closing this issue now. Instead, comment on issue #26 for discussing debugging programs using stdin/stdout, or create a new issue to discuss the process attach workflow.
Is there a reasonable way yet to debug a process that outputs to
stdout
and reads input fromstdin
- not unlike an extremely basicncurses
?I've been reading this https://github.com/nakst/gf/issues/26 and the documentation on
log-window
, but it doesn't seem suitable for this use case.