I am new to using ipdb and following the examples have added
print "I see this print statement\n"
foo="bar"
import ipdb
ipdb.set_trace()
print "Never see this statement because program hangs:
print "But if the prior two debugging lines were removed it DOES show up"
at a point within my code well before a section that has some data issue. By adding this code my program just hangs: no print statements, no breakpoints, and only way to continue is to hit control-c.
What might be going on here?
UPDATE I shutdown / restarted ipython. That cleared something up: now I can get into the ipdb prompt
ipdb>
However, when I try to print any variable it still hangs:
ipdb. print foo