From: Alex T. <al...@tw...> - 2005-12-18 02:06:45
|
Don Taylor wrote: > I don't know if this is a real bug, or an artifact of the running > Pythoncard apps under Eclipse/Pydev. When, for example, Minimal is > run under the Pydev debugger it always throws the following exception > when File->Exit is selected. > > "Exception exceptions.TypeError: "'NoneType' object is not callable" > in <bound method Pen.__del__ of <wx._gdi.Pen; proxy of C++ wxPen > instance at _505f2602_p_wxPen>> ignored" > > When I run (rather than debug) Minimal under Pydev then I don't see > this exception being thrown. > > In general, I am able to set breakpoints and trace execution of > Pythoncard apps under Pydev. This exception does not seem to cause > any harm as the app is about to die anyway. I am curious as to > whether debugging under Pydev is generally going to work as I would > love to use Pythoncard running inside a rich OSS IDE like Eclipse (or > Netbeans). I don't specifically know about Eclipse. In WingIDE, there are some spurious exceptions reported; the WingIDE docs explain that they are sometimes unable to determine if an exception is being caught or not, and say that exceptions which are not reported when the app is run outside the debugger are likely to be instances of this problem - and the advised action is to mark them as "Ignore this exception" (or some similar thing). I've always done that and had no problems. (Except that now I can't debug in WingIDE at all - but that's got to be just a side-effect of me messing around with versions of Python incorrectly. I hope.) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.1/206 - Release Date: 16/12/2005 |