]> granicus.if.org Git - python/commitdiff
Fix by Edward K Ream to make breakpoints work on Windows: insert a
authorGuido van Rossum <guido@python.org>
Mon, 25 Feb 2002 23:22:08 +0000 (23:22 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 25 Feb 2002 23:22:08 +0000 (23:22 +0000)
missing call to self.canonic().

Lib/idlelib/Debugger.py

index e4591ff6df168d2431bf16add1444877c5715966..949a0f86f68693f6710c8b0472d94a93baca76a0 100644 (file)
@@ -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!'