Show More
@@ -563,6 +563,11 b' python-profiler package from non-free.""")' | |||||
563 | return |
|
563 | return | |
564 | # if we find a good linenumber, set the breakpoint |
|
564 | # if we find a good linenumber, set the breakpoint | |
565 | deb.do_break('%s:%s' % (filename, bp)) |
|
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 | # Start file run |
|
571 | # Start file run | |
567 | print "NOTE: Enter 'c' at the", |
|
572 | print "NOTE: Enter 'c' at the", | |
568 | print "%s prompt to start your script." % deb.prompt |
|
573 | print "%s prompt to start your script." % deb.prompt |
General Comments 0
You need to be logged in to leave comments.
Login now