Catching unhandled exception on separate threads

@Ani have already answered your question. Although I don’t agree that unhandled exceptions in threads should terminate applications. Using threads usually means that you have some kind of server application. Bringing it down could result in a lot of angry users. I’ve written a small piece about proper exception handling: https://coderr.io/exception-handling You should always catch … Read more

How do I find where an exception was thrown in C++?

Here’s some info that may be of use in debugging your problem If an exception is uncaught, the special library function std::terminate() is automatically called. Terminate is actually a pointer to a function and default value is the Standard C library function std::abort(). If no cleanups occur for an uncaught exception†, it may actually be … Read more

Elmah not working with asp.net site

I just had a similar problem with Elmah not working in an IIS7 deployment. I found that I needed to register the Elmah Modules and Handlers in system.web AND system.webServer: <system.web> … <httpHandlers> … <add verb=”POST,GET,HEAD” path=”elmah.axd” type=”Elmah.ErrorLogPageFactory, Elmah” /> … </httpHandlers> <httpModules> … <add name=”ErrorLog” type=”Elmah.ErrorLogModule, Elmah”/> <add name=”ErrorMail” type=”Elmah.ErrorMailModule, Elmah” /> <add name=”ErrorFilter” … Read more