[Python-checkins] CVS: python/dist/src/Tools/idle Debugger.py,1.15,1.15.22.1
Guido van Rossum
gvanrossum@users.sourceforge.net
Mon, 25 Feb 2002 15:16:47 -0800
Update of /cvsroot/python/python/dist/src/Tools/idle
In directory usw-pr-cvs1:/tmp/cvs-serv15432
Modified Files:
Tag: release22-maint
Debugger.py
Log Message:
Backport of a useful trunk fix:
Fix by Edward K Ream to make breakpoints work on Windows: insert a
missing call to self.canonic().
Index: Debugger.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/Debugger.py,v
retrieving revision 1.15
retrieving revision 1.15.22.1
diff -C2 -d -r1.15 -r1.15.22.1
*** Debugger.py 17 Jan 2001 08:48:39 -0000 1.15
--- Debugger.py 25 Feb 2002 23:16:45 -0000 1.15.22.1
***************
*** 298,301 ****
--- 298,302 ----
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: