I have a self hosted wcf web service with an UnhandledExceptionEventHandler logging any unhandled exceptions.. which happen frequently enough as I am engaged with a 3rd party technology provider who are a little buggy to be polite...
My question is; can I stop the JIT debugger being invoked after I've processed the unhandled exception? I'm doing as much as I can with the unhandled exception; I know the service is bombing but the fact that it bombed is recorded in our events db. Is there a compile switch I can set??
The application must also be compiled with debugging enabled. For example: When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
Please disable your JIT debugging in your side. Note: You need to run your VS as the admin. One possible reason is that it has the crashed or unhanded exception in your side which leads to pop-up the JIT debugging. So you need to disable JIT debugging and find the real reason in your side.
According to MSDN you can enable/disable JIT debugging through the Options dialog in Visual Studio - http://msdn.microsoft.com/en-us/library/5hs4b7a6.aspx There seems to be also a registry hack that does the same. HTH
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With