best way to deal with python pdb flakiness re/stdout?
- by YGA
I love python and hate the pdb debugger.
For instance, if I have a program where stdout is redirected, my pdb prompts all go to the redirection, because the library was written to write to stdout.
Oftentimes this problem is subtle, causing me to think a program is hanging when it's really waiting for input.
How do people work around this? (Unfortunately, using other debuggers like winpdb is not an option).
Thanks,
/YGA