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

Backport (if there's ever a 2.1.3 release) of a useful trunk fix:

Fix by Edward K Ream to make breakpoints work on Windows: insert a
missing call to self.canonic().
üst 205da048
......@@ -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