locked
Unhandled exceptions using Packages RRS feed

  • Question

  • Hi,

    There is any way to catch any unhandled exception in a Visual Studio Package? I use the try catch block when I expect exceptions, but because now debugging and testing the application, it would be useful to catch any unexpected exception from unexpected behaviors.

    Thanks!

    Mauro

    Monday, March 29, 2010 7:52 PM

Answers

  • Hi Mauro,

    There is no way to register a handler for catching all exceptions (or only exceptions coming from your package code).

    Regards,
    Aaron


    http://blogs.msdn.com/aaronmar
    Monday, March 29, 2010 10:43 PM