Can't see the output of ipdd==0.8.1 when used with behave==1.2.5
Hi All,
After upgrading ipdb to v0.8.1 and behave to v1.2.5, ipdb stopped working properly. Basically when execution stops at the breakpoint, and you issue any of the ipdb commands then you won't see the output of that command. Here's an example repo that you can use to reproduce the issue: https://github.com/kowalcj0/behaveipdb
btw. I wasn't able to tell whether it's an issue with ipdb or behave so I've reported it on both projects' github repos.
I would guess that behave, like nose, hijacks stdout.
Prior to 0.8.1, ipdb would firmly "acquire" stdout. Since 0.8.1, we do it only if nose has been imported.
I knew it was a smelly hack.
I will need to think how to make something less smelly that also works with behave.
Any suggestion is welcome though.
PS: Sorry for being late with answering.
Can you try code from https://github.com/gotcha/ipdb/pull/84 ?
The README explains how to explicitly ask for stdout fiddling:
https://github.com/gotcha/ipdb/tree/fix_stdout#issues-with-stdout