From: Guido van Rossum Date: Mon, 25 Feb 2002 23:11:03 +0000 (+0000) Subject: Fix by Edward K Ream to make breakpoints work on Windows: insert a X-Git-Tag: v2.3c1~6627 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30efbccee4ea6ab2d4cc78325ef09c6a14a0042a;p=thirdparty%2FPython%2Fcpython.git Fix by Edward K Ream to make breakpoints work on Windows: insert a missing call to self.canonic(). --- diff --git a/Tools/idle/Debugger.py b/Tools/idle/Debugger.py index e4591ff6df16..949a0f86f686 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!'