Re: [Pyobjc-dev] Seeing a traceback
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2009-12-08 08:31:59
|
On 5 Dec, 2009, at 7:34, Orestis Markou wrote: > > On 5 Dec 2009, at 01:37, Saptarshi Guha wrote: > >> Hello, >> When running my PyObjc app, I get some errors, but no traceback >> >> e.g in the console (XCode's) >> >> 2009-12-04 18:32:31.643 Awake[5689:10b] Awake did finish launching. >> 2009-12-04 18:32:31.644 Awake[5689:10b] Using the following >> wakeupfile:/Users/yanger/.wakeuprc >> 2009-12-04 18:32:31.653 Awake[5689:10b] <type 'exceptions.TypeError'>: >> 'NoneType' object is not iterable >> >> But I'd like to see the traceback for the last line. Is there a way >> for me to view it? >> Regards >> Saptarshi >> PYObjc on leopard 10.5.8 (Macbook) > > import objc > objc.setVerbose(True) > > This should be the default behaviour, IMO. The reason this isn't the default behaviour is that it will log all exceptions, even perfectly valid ones that are caught later on. Ronald |