From: Guido van Rossum Date: Mon, 25 Feb 2002 23:16:45 +0000 (+0000) Subject: Backport of a useful trunk fix: X-Git-Tag: v2.2.1c1~157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82953b1f843c8166b75dcf95c0556c0611cae1b6;p=thirdparty%2FPython%2Fcpython.git Backport 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!'