diff options
| author | Christian Heimes <christian@cheimes.de> | 2007-11-12 17:28:45 (GMT) |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2007-11-12 17:28:45 (GMT) |
| commit | 50bbcc27e3e0e1bacb39eb9f553bcd68f9ef077a (patch) | |
| tree | d529371b6072fd7b3cbcf83439d624c32bc5a195 | |
| parent | ad7363bed130387194edde4b4d9b436a70c4fb27 (diff) | |
| download | cpython-50bbcc27e3e0e1bacb39eb9f553bcd68f9ef077a.zip cpython-50bbcc27e3e0e1bacb39eb9f553bcd68f9ef077a.tar.gz cpython-50bbcc27e3e0e1bacb39eb9f553bcd68f9ef077a.tar.bz2 | |
Fixed #1254: pdb fails to launch some script.
| -rwxr-xr-x | Lib/pdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1123,7 +1123,7 @@ see no sign that the breakpoint was reached. # Start with fresh empty copy of globals and locals and tell the script # that it's being run as __main__ to avoid scripts being able to access # the pdb.py namespace. - globals_ = {"__name__" : "__main__"} + globals_ = {"__name__" : "__main__", "__file__" : filename} locals_ = globals_ # When bdb sets tracing, a number of call and line events happens |
