Exception in the OnIdle event does not bubble up

Posted by sthay on Stack Overflow See other posts from Stack Overflow or by sthay
Published on 2010-05-20T18:33:07Z Indexed on 2010/05/20 18:40 UTC
Read the original article Hit count: 155

Filed under:
|
|

On my main form, I subscribed to two events: Application.ThreadException and Application.Idle. In theory, any exception that is not caught should get bubbled up to the main form. However, this does not work if the exception happens in the OnIdle event. The system just crashes. Does anyone know how to solve this problem? Thanks so much.

© Stack Overflow or respective owner

Related posts about winforms

Related posts about exceptions