summaryrefslogtreecommitdiffstats
path: root/Tools/idle
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-02-25 23:11:03 (GMT)
committerGuido van Rossum <guido@python.org>2002-02-25 23:11:03 (GMT)
commit30efbccee4ea6ab2d4cc78325ef09c6a14a0042a (patch)
treec0948c88fa684f12c1d9c9ffb6b03e3724b2fd83 /Tools/idle
parentb6b2aa6c75f887c0c33f304f34dc517c36eeb3ba (diff)
downloadcpython-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/idle')
-rw-r--r--Tools/idle/Debugger.py1
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!'