I know uncaught exceptions are meant to crash the application. However, when I run the application in debug mode an uncaught exception causes the application to crash.

I am using the Lotus Notes Domino objects COM. I have concluded that during normal operation the API can perform an normal clean-up and termination of the objects but and exception causes prevents this from happening.

Is there any way of manually releasing and disposing of a COM object? Has anyone else used the Domino API before?

This is really annoying me because I cannot see the exception details. Instead I just get the standard "do you want to send an error report dialog box". This makes the application an absolute pain to debug during development.