[Python-checkins] CVS: python/dist/src/Tools/idle Debugger.py,1.15,1.16
Guido van Rossum
gvanrossum@users.sourceforge.net
2002年2月25日 15:11:05 -0800
Update of /cvsroot/python/python/dist/src/Tools/idle
In directory usw-pr-cvs1:/tmp/cvs-serv13188
Modified Files:
Debugger.py
Log Message:
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.16
diff -C2 -d -r1.15 -r1.16
*** Debugger.py 17 Jan 2001 08:48:39 -0000 1.15
--- Debugger.py 25 Feb 2002 23:11:03 -0000 1.16
***************
*** 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: