diff options
author | Guido van Rossum <guido@python.org> | 2002-02-25 23:22:08 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-02-25 23:22:08 (GMT) |
commit | 16ac99a959a23008e4db5bc2eb91c64d16eda728 (patch) | |
tree | fb3d28a76506665eb5644d469c39e890063d089a /Lib | |
parent | bc64f7c6f32f9869a927a4ed07e0e5ed69075f91 (diff) | |
download | cpython-16ac99a959a23008e4db5bc2eb91c64d16eda728.zip cpython-16ac99a959a23008e4db5bc2eb91c64d16eda728.tar.gz cpython-16ac99a959a23008e4db5bc2eb91c64d16eda728.tar.bz2 |
Fix by Edward K Ream to make breakpoints work on Windows: insert a
missing call to self.canonic().
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/idlelib/Debugger.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/Debugger.py b/Lib/idlelib/Debugger.py index e4591ff..949a0f8 100644 --- a/Lib/idlelib/Debugger.py +++ b/Lib/idlelib/Debugger.py @@ -297,6 +297,7 @@ class Debugger(bdb.Bdb): # A literal copy of Bdb.set_break() without the print statement at the end def set_break(self, filename, lineno, temporary=0, cond = None): import linecache # Import as late as possible + filename = self.canonic(filename) line = linecache.getline(filename, lineno) if not line: return 'That line does not exist!' |