When I insert an "import ipdb;ipdb.set_trace()" inside a nose test case, running of the tests pauses but nothing is output on the terminal.
I've made a patch to fix this in my fork of ipdb in February 2010: see akaihola/ipdb@0894324
Unfortunately my repository isn't a fork of yours. IIRC I created it by cloning svn.gotcha.python-hosting.com since there were no GitHub mirrors at that time.
I adapted my original patch to your current code and made it work with IPython >=0.10.2 as well:
Can you turn it into a pull request ?
Ok, I'll manage myself then !
I made a branch where I use less code.
Can you test my 'issue8' branch ?
Your 'issue8' branch seems to work correctly (Python 2.7, nose 1.1.2, IPython 0.11).
Ah, one problem! If I have set_trace() in a loop, the first time it works ok, but if I hit c and arrive at set_trace() on the next iteration of the loop, the ipdb> prompt is missing (although all other output works correctly).
In my original patch this problem doesn't exist.
Last push should fix the loop issue. Can you confirm ?
As I also tested myself, I consider this issue closed.
Released as ipdb 0.6