diff --git a/Tools/idle/Debugger.py b/Tools/idle/Debugger.py index 36665acbd21..b085a1d6a32 100644 --- a/Tools/idle/Debugger.py +++ b/Tools/idle/Debugger.py @@ -17,6 +17,10 @@ def __init__(self, pyshell): bdb.Bdb.__init__(self) self.pyshell = pyshell self.make_gui() + + def canonic(self, filename): + # Canonicalize filename -- called by Bdb + return os.path.normcase(os.path.abspath(filename)) def close(self, event=None): if self.interacting: