diff options
| author | Guido van Rossum <guido@python.org> | 2002-02-25 23:16:45 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2002-02-25 23:16:45 +0000 |
| commit | 82953b1f843c8166b75dcf95c0556c0611cae1b6 (patch) | |
| tree | b8ff80115b3ff8f642b7b04d00a2b3211fe585b9 /Tools | |
| parent | b38f188f348d57f07bb71dfc7789bc14cd2d4140 (diff) | |
| download | cpython-git-82953b1f843c8166b75dcf95c0556c0611cae1b6.tar.gz | |
Backport of a useful trunk fix:
Fix by Edward K Ream to make breakpoints work on Windows: insert a
missing call to self.canonic().
Diffstat (limited to 'Tools')
| -rw-r--r-- | Tools/idle/Debugger.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/idle/Debugger.py b/Tools/idle/Debugger.py index e4591ff6df..949a0f86f6 100644 --- a/Tools/idle/Debugger.py +++ b/Tools/idle/Debugger.py @@ -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!' |
