##// END OF EJS Templates
Avoid stopping in ipdb until we reach the main script....
Bradley M. Froehle -
Show More
@@ -563,6 +563,11 b' python-profiler package from non-free.""")'
563 563 return
564 564 # if we find a good linenumber, set the breakpoint
565 565 deb.do_break('%s:%s' % (filename, bp))
566
567 # Mimic Pdb._runscript(...)
568 deb._wait_for_mainpyfile = True
569 deb.mainpyfile = deb.canonic(filename)
570
566 571 # Start file run
567 572 print "NOTE: Enter 'c' at the",
568 573 print "%s prompt to start your script." % deb.prompt
General Comments 0
You need to be logged in to leave comments. Login now