Either would help if the truth be known, although my preference would be to hook to a debugger. Note: I've already added a application.threadexceptio
Main Topics
Browse All TopicsOK - I'm been getting the following error whilst testing my .Net 2.0 application on a deployment machine...
<quote>
An unhandled win32 exception occured in <application exe> [1808]. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Ju
Check the documentation index for 'Just-in-time debugging, error' for more information.
</quote>
Now my first thought was to install the .Net 2.0 framework SDK to utilise the GuiDebug utility. However, that didn't help, nor did adding...
<system.windows.forms jitDebugging="true"/>
...nor a host of other registry tweaks and other options. Safe to say that the application has been built in 'Debug' release. Now I'm really struggling to sort this issue out and the above error message is useless and in tracking and resolving this.
FYI - the application has been built in VS2005 (with SP1), .NET 2.0. The deployment machine is running Window XP Home, SP2 with all the critical MS updates installed.
Any thoughts on getting the JIT debugger or something that would give me better indication of what and where this error is?
Chrs
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Ok, let's start piling on the resources here to try to help uncover the inner workings of JIT compiler:
1) Enabling JIT-attach Debugging
http://msdn2.microsoft.com
HKEY_LOCAL_MACHINE\Softwar
If value = 16, in the .NET Framework version 2.0 only, the runtime presents the message box described above for processes that are interactive with the desktop. For processes that are not interactive, the runtime spawns the debugger listed in the DbgManagedDebugger registry key. This is the default setting for the .NET Framework version 2.0.
Mine = 0x10 (16)
HKEY_LOCAL_MACHINE\Softwar
Mine = "C:\WINDOWS\system32\vsjit
2) Did you add this to the application.exe.config file?
<system.windows.forms jitDebugging="true"/>
3) What is the configuration for the application? Debug or Release?
4) Was there a .pdb file created?
5) Here is a good CodeProject article about debugging:
Windows Debuggers: Part 1: A WinDbg Tutorial
http://www.codeproject.com
Bob
Okey dokey,
1. Been there, all configured and matching your config.
2. Sure did (first post ;-) )
3. Debug (first post ;-) )
4. On the development machine - yes. At some stage I copied the PDB files over thinking that the debugger was falling over because its wanted these file - no good.
5. Wow - a cool article. In fact, by installing the WinDbg debugger, configuring it and utilising the sos.dll - I managed get the exception message. For prosperity I blogged it up just here -> http://blogs.vbcity.com/dr
Thanx for pointers and whilst I would have to preferred to have enabled the VS JitDebugger - this is better than nothing. Chrs
Business Accounts
Answer for Membership
by: gregoryyoungPosted on 2007-01-29 at 09:52:32ID: 18421282
Are you just trying to get the exception that occurred or are you trying to actually hook up a debugger?
Cheers,
Greg