From: Guido van Rossum Date: Mon, 25 Feb 2002 23:22:08 +0000 (+0000) Subject: Fix by Edward K Ream to make breakpoints work on Windows: insert a X-Git-Tag: v2.3c1~6625 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16ac99a959a23008e4db5bc2eb91c64d16eda728;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/Lib/idlelib/Debugger.py b/Lib/idlelib/Debugger.py index e4591ff6df16..949a0f86f686 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!'