[IronPython] Bug?

Davy Mitchell daftspaniel at gmail.com
Tue Mar 13 22:32:26 CET 2007


> On 1/5/07, Dino Viehland <dinov at exchange.microsoft.com> wrote:
> > The System.Timers.Timer class will swallow all exceptions from the timer
> >causing this to happen (and apparently has no way to report those to the user).

In case this helps other people with events in WinForms apps....

I hit a similar situation to this when handling events from the web
browser control. To get the exceptions reported I simply put the
entire handler in a try/catch block and printed it/them out.

Cheers,
Davy

-- 
Davy Mitchell
Blog - http://www.latedecember.co.uk/sites/personal/davy/
Twitter - http://twitter.com/daftspaniel
Skype - daftspaniel



More information about the Ironpython-users mailing list