activex scripting and debugging with Python win32com
Mark Hammond
MarkH at ActiveState.com
Wed Dec 6 07:13:03 EST 2000
Mark Hammond wrote:
...
Well, it appears a kind lurker out there named Grzegorz Makarewicz had
the answer! He mailed me the following patch...
I admit I haven't actually tested it yet, but the errors are so obvious
I am a little embarrassed about posting it ;-)
Mark.
RCS file: /home/cvsroot/PyWin32/com/win32comext/axdebug/adb.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- adb.py 2000/01/06 04:14:06 1.2
+++ adb.py 2000/12/06 12:06:02 1.3
@@ -68,7 +68,7 @@
def canonic(self, fname):
if fname[0]=='<':
return fname
- return bdb.Bdb.canonic(fname)
+ return bdb.Bdb.canonic(self, fname)
def reset(self):
traceenter("adb.reset")
@@ -115,7 +115,7 @@
if self.breakFlags==axdebug.APPBREAKFLAG_DEBUGGER_HALT:
self.breakReason = axdebug.BREAKREASON_DEBUGGER_HALT
return 1
- rc = abd.Adb.break_anywhere(self, frame)
+ rc = bdb.Bdb.break_anywhere(self, frame)
tracev("break_anywhere",_dumpf(frame),"returning",rc)
return rc
More information about the Python-list
mailing list