summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/PyDebugger.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Tools/IDE/PyDebugger.py')
-rw-r--r--Mac/Tools/IDE/PyDebugger.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/PyDebugger.py b/Mac/Tools/IDE/PyDebugger.py
index c1f9b49..22ab7a2 100644
--- a/Mac/Tools/IDE/PyDebugger.py
+++ b/Mac/Tools/IDE/PyDebugger.py
@@ -49,6 +49,11 @@ class Debugger(bdb.Bdb):
self.tracemagic = 0
self.laststacksel = None
+ def canonic(self, filename):
+ # override: the provided canonic() method breaks our
+ # file-less Untitled windows
+ return filename
+
def reset(self):
self.currentframe = None
self.file = None