Kaydet (Commit) 16ac99a9 authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix by Edward K Ream to make breakpoints work on Windows: insert a

missing call to self.canonic().
üst bc64f7c6
......@@ -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!'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment