[Idle-dev] CVS: idle Debugger.py,1.3,1.4
Guido van Rossum
gvanrossum@users.sourceforge.net
Mon, 25 Feb 2002 15:22:10 -0800
Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv17141
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/idlefork/idle/Debugger.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** Debugger.py 13 Jul 2001 00:07:42 -0000 1.3
--- Debugger.py 25 Feb 2002 23:22:08 -0000 1.4
***************
*** 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: