1

I am using pwndbg plugin with gdb. When any program that prints to stdout is run under gdb, I seem to not being able to see the output from the program during the debugging session. How can I redirect the output to the same terminal as that of gdb or to a different one?

  • are you sure that you are not missing the output in the vast information provided by pwndbg? – sudhackar Jul 31 '18 at 16:55
2
set logging file ~/pwndbg.log
set logging on

Then run any command like info functions You will find the output in the file specified.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.