From 30efbccee4ea6ab2d4cc78325ef09c6a14a0042a Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Mon, 25 Feb 2002 23:11:03 +0000
Subject: Fix by Edward K Ream to make breakpoints work on Windows: insert a
 missing call to self.canonic().

---
 Tools/idle/Debugger.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Tools/idle/Debugger.py b/Tools/idle/Debugger.py
index e4591ff..949a0f8 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!'
-- 
cgit v0.12

