Home » c# » c# – Unable to launch Just-in-time debugger through Debugger.launch() || Event 4096 || error 0xc0000008-Exceptionshub

c# – Unable to launch Just-in-time debugger through Debugger.launch() || Event 4096 || error 0xc0000008-Exceptionshub

Posted by: admin February 24, 2020 Leave a comment

Questions:

I am working with an application which uses both C++ and C# code. This application uses “Debug.Launch()” to invoke Just-in-time debugger window to debug the code. System configuration is

OS : Windows 10
Visual Studio version : 2008

Previously, this code was working fine and able to launch JIT Debugger window. But recently, I have installed VS2015 for some other purpose on the same system.
From then onwards JIT Debugger is not working. When I go to event viewer and check the events, an error is logged against “VsJITDebugger” which says “Just-In-Time debugging this exception failed with the following error: 0xc0000008”

I have tried, enabling visual studio JIT options, changing the registry settings for JIT and Stopping error reporting etc. But nothing worked. Uninstalled all visual studios and re-installed only VS2008 but still JIT Debugger is not working.

Can someone help me to solve this? Thanks in advance.

How to&Answers: