VS2008 VB. I add a handler for Application.ThreadException. It works fine, except for one unexpected behavior. If I programmatically throw an exception, and that exception specifies an InnerException, then the ThreadException event handler is called with the inner exception, not the one that was thrown. Any idea why this happens and what I can do to see the original exception?