From: Guido van Rossum Date: Mon, 25 Feb 2002 23:13:34 +0000 (+0000) Subject: Backport (if there's ever a 2.1.3 release) of a useful trunk fix: X-Git-Tag: v2.1.3~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b027538a0f24508bea97cfadd7a682588a2b5489;p=thirdparty%2FPython%2Fcpython.git Backport (if there's ever a 2.1.3 release) of a useful trunk fix: 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!'