From 16ac99a959a23008e4db5bc2eb91c64d16eda728 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 25 Feb 2002 23:22:08 +0000 Subject: Fix by Edward K Ream to make breakpoints work on Windows: insert a missing call to self.canonic(). --- Lib/idlelib/Debugger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/idlelib/Debugger.py b/Lib/idlelib/Debugger.py index e4591ff..949a0f8 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!' -- cgit v0.12