I was just reading the thread! Kinda hilarious though.
JIT is used to catch real time errors especially run-time. It is very useful for developers. To catch un handled exceptions.
Jit comes as a part of Visual Studio. If you do not know how to manage Jit its better not to install Visual Studio (no skills to manage it will give you lots of trouble). Just the programing skills does not make a good developer. Well its not a fault of VS developer team or Bill Gates. Doh!
Jit will be invoked if enabled by Visual studio, instead of Dr Watson. If programs crash the crash handlers will be invoked and you will see Dr.Watson process running in the background. It will call dumprep and will create error logs; Errors will be logged in Event Viewers as well. Even a simple failure will be handled and Jit will be invoked. So programs will begin to crash while they run or install.
Some developers set programs to use Jit and Jit will be enabled instead of Dr.Watson. Dr.Watson will be invoked in serious errors however. Its obvious. But specially if you have installed Visual Studio, you will be using JIT as well. JiT overrides the Dr.Watson Program. But you can reverse it back using two methods.
Its a third party piece however. I wonder why these MSDN people do not know how to provide a complete answer. Each and every person does not understand Administration of programs. So its their responsibility. That is a laughing matter though. But people will be pissed off. Can't blame them either. Some of them are not familiar with regedit tools. So the answers have to be flexible and complete.
The bad behavior of JIT is it will suspend the program an once when an error occur. You will never be allowed to run further. So its kinda piece of ****. It also has security issues with it.
Unfortunately if a program Invokes JIT intensionally its not possible to reverse the process.
Stop JIT while you have Visual Studio installed (Its a stupid thing to uninstall it without removing JIT. No way!)
How this thing will be enabled?
- Open VS:
- Go to Tools and then Options.
- In the Options Dialog box Double click Debugging and then click JIT
- Enabling options:
Click on OK.
This sets the Registry key and will start JIT. So do the Revers to Disable it.
You have to Disable the Keys. Method one:
- Click on Start Menu and Type Run (for P Hit Run box)
- Type in regedit and hit Enter
- Expand the Keys to located the place
- HKLM\Software\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger is one location.
- HKLM\Software\Microsoft\.NETFramework\DbgManagedDebugger
- Delete these keys. Or set the Auto key's value to 1.
- On a 64bit system the paths will be: HKLM\Software\Wow6432Node\Microsoft\...
- You may need to reboot the system as well.
Method two: Enable Dr.Watson using an alternative method:
- Get a Command Window (Command Prompt)
- Type drwtsn -i and
- Hit enter
If you were using a third party debugger read this
Microsoft Support Next step
Open Start>Control Panels>Internet Options: Advanced and activate (check box)
- Disable Script Debugging (Internet Explorer)
- Disable Script Debuggung (Other)
If you have enabled Server Side Script Debugging the pages will freeze if an error occurs.
Read the enabling procedure.
Steps to enable debugging portion. Do the Reverse to disable it.
For Script Debuggers:
Here is how you enable the JIT:
- Click on Options then Tools
- Click on Debugger
- Select JIT debugger and attach to programs running on this machine
- So now you know how it happened. Do the reverse to disable it!
Using third party tools and software may enable this tool. If you detect one you have to avoid using it.
Just posted this in the MSDN thread as well.
Please rate the answer as well!
Feel free to contact if you have further issues.
Thanks for using Fixya!
-Lasitha
×