Hello,
we run a nighlty testsuite of hundreds of console applications, and if
such an application crashes, it shall simply die and not create a popup
window asking what program to use as JIT debugger.
I unmarked Tools->Options->Debugging->Just-In-Time Debugging
in VC8 and VC 2003.
I run drwtsn32.exe -i so that the registry entries for Aedebug are set.
I then get a popupwindow that the unhandled exception cannot be
forwarded to a debugger: "No installed debugger has Just-In-Time
debugging enabled".
It is not a VC8 problem as it works as expected on XP32
Thanks in advance,
andreas .

just in time debugger
cyberbeast
I should maybe be more precise.
* The application is unmanaged code ( so why does the .net framework come in )
* The main program looks like this:
int main()
{
int* ptr = 0;
*ptr = 7812;
return 0;
}
Leo Huang
In case of native application the information on how to disable pop-ups on 64bit windows are described in KB article located at http://support.microsoft.com/kb/282934/EN-US/.
Jan Stranik
yuvin
Hello Andreas,
the behaviour of CLR2.0 is controlled by flag HKLM\Software\Microsoft\.NetFramework\DbgJITDebugLaunchSetting. Information about how to use this flag is quite well summarized on this blog: ttp://blogs.msdn.com/shawnfa/archive/2004/07/15/184490.aspx.
Visual Studio is a 32 bit application and when it is run on 64 bit windows, it updates only 32 bit portion of the registry. That portion could be accessed through HKLM\Software\Wow6432Node\Microsoft\.NETFramework. When a .NET application is launched on 64 bit windows, it used by default 64 bit version of the framework. That version reads the settings from the 64 bit version of the registry which is not updated by Visaul Studio. On 64bit OS, the registry needs to be updated manually.
Regards
/jan