diff options
author | Guido van Rossum <guido@python.org> | 2002-02-25 23:11:03 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-02-25 23:11:03 (GMT) |
commit | 30efbccee4ea6ab2d4cc78325ef09c6a14a0042a (patch) | |
tree | c0948c88fa684f12c1d9c9ffb6b03e3724b2fd83 /Tools | |
parent | b6b2aa6c75f887c0c33f304f34dc517c36eeb3ba (diff) | |
download | cpython-30efbccee4ea6ab2d4cc78325ef09c6a14a0042a.zip cpython-30efbccee4ea6ab2d4cc78325ef09c6a14a0042a.tar.gz cpython-30efbccee4ea6ab2d4cc78325ef09c6a14a0042a.tar.bz2 |
Fix by Edward K Ream to make breakpoints work on Windows: insert a
missing call to self.canonic().
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/idle/Debugger.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/idle/Debugger.py b/Tools/idle/Debugger.py index e4591ff..949a0f8 100644 --- a/Tools/idle/Debugger.py +++ b/Tools/idle/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!' |