diff Mac/Tools/IDE/PyDebugger.py @ 18176:cc7631fbf7f9 legacy-trunk

Override bdb's canonic() method with a no-op: with bdb's version we couldn't edit breakpoints in file-less ("Untitled" script windows). Besides, we did't need it as we always use full path names anyway.
author Just van Rossum <just@letterror.com>
date Wed, 20 Jun 2001 19:57:55 +0000
parents c5ac6f055c62
children 42b2f1936254
line wrap: on
line diff
--- a/Mac/Tools/IDE/PyDebugger.py	Wed Jun 20 19:41:40 2001 +0000
+++ b/Mac/Tools/IDE/PyDebugger.py	Wed Jun 20 19:57:55 2001 +0000
@@ -49,6 +49,11 @@
 			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