I am writing a DLL using Visual C++ 2008, which is then loaded and runs inside another application (an exe written in Visual C++ that I do not have source code for). I nevertheless must debug my plugin's crashes that are occurring sometimes.
I have enabled JIT debugging in the Visual C++ 2008 debugger properties. I also have about 4 other versions of Visual Studio installed, for other projects, and I'm not sure if I also have to disable JIT for all other versions of Visual C++/Visual Studio that are installed.
Using JIT debug would be very handy here. However when the main program crashes I get this dialog:
Title: "<Program name> has stopped working"
Message: Windows is collecting more information about the problem.
Then I get the "Do you want to send more information about the problem?" dialog. It shows me that it created some files in c:\users\myuserid\AppData\Local\Temp\WER*.*
How do I modify the windows environment, or how do I create a valid manifest file that I could put external to the main crashing EXE to get it to enable JIT debug?