ipdb

Why is iPdb not displaying STOUT after my input?

I can't figure out why ipdb is not displaying stout properly. I'm trying to debug why a test is failing and so I attempt to use ipdb debugger. For some reason my Input seems to be accepted, but the STOUT is not displayed until I (c)ontinue. Is this something broken in ipdb? It makes it very difficult to debug a program. Below is an ex...

quitting ipdb produces a really long error message

if I run this... import ipdb print 'a' ipdb.set_trace() print 'b' and then type 'q' to quit I get a 300 line error message. python 2.5.4 on windows. > d:\python25\scripts\a.py(4)<module>() 2 print 'a' 3 ipdb.set_trace() ----> 4 print 'b' ipdb> q ERROR: An unexpected error occurred while tokenizing input The following tracebac...