How to disable “just-in time debugging”
Just-In-Time debugging (that annoying pop-up message) is a windows feature that is starting automatically Visual Studio debugger when a software it’s giving a fatal error. There is no need for The Visual Studio debugger to run when some sort of error occurs.
How can you disable this windows feature?
Today I got the perfect solution:
-to stop this message from popping up, go to Control Panel > Internet Options > Advanced, then put a check in the following two boxes:
- Disable Script Debugging (Internet Explorer)
- Disable Script Debugging (Others)
This is really working ;)
We offer you incredible resources for all kind of microsoft certification including mcitp and cissp.
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.


Thank you very much this has been bugging me for weeks and on other places they just want you to buy things…Great answer….and Great site thanks
It’s not helping…Is there any other way to get rid of it?
It should work. Otherwise, google it :)
I have disabled BOTH. I still have the problem. Would disable notification work? Is it OK do check this box?
@Jeff. For me is working. I don’t know what to say. This method is tested in XP only, maybe you’re using other OS. Thanks for reply!
I am using XP.
i have this program and everytime i press go the JIT thing comes up i tried what you guys have said but noting has works can u please help me. im using XP
Ditto here. Both were already checked off, so I already figured it would not resolve the annoying pop-up. I deselected and then hit ‘apply’, then went and put the check marks back in. Its still giving me the pop-ups.
i already did this and everytime i click on windowblinds the same banner pops up. my husband gave me visual basic 2008 (he thinks i’m smart), i installed it, and i could’nt get into add/remove, windowblinds, or make a simple change in display. i had to use an uninstaller. i thought that i got it all, ha! i even did the dep thingy, no change. i’m going on to hijack this. i really don’t want to mess with the registry keys, if i do i might as well do another clesan install. i am running windows xp sp3. any other suggestions?????
@barbara check the latest article please.
for xp users, go to control panel and choose: network and internet connections> on the screen at the bottom UNDER where it says: or pick a control panel icon, click on internet options. A window will come up, just click advanced and tick the boxes he says
hope it helps!
btw im only 14 and i worked it out =)
good catch Krispin. Thanks! :)
Yeah…I’m using XP too, and both those boxes were already checked on my computer as well, and it hasn’t stopped popping up about 5435451354 times a day….
Not that I’m annoyed or anything. I enjoy clicking “No” all day long… :-(
Thank you so much, This is helping me…
it didnt work for me :(
The boxes were already clicked – any other suggestions???
please check my newest article:
http://www.kensfi.com/how-to-get-rid-of-just-in-time-debugging-ii/
ya its not working at all, both are checked
@ krispin, im a 22 yo biomedical engineer and apparently i cant figure it out, u must be smarter than me
Ken:
I have tried all methods excep using the cleansing software that you have mentione at the bottom of your article. Nothing seems to work, the pop-up happily returns ever after!!
I am using XP. Is there any futher suggestions?
Thanks.
Ram
I’ve been seeing this error on a few computers(i’m in tech support)
The check boxes mentioned in this article are already checked.
What I’ve done to get rid of the pop-up is say yes to continue debugging. There are usually some other messages where you have to hit break or something. Once you’re past all the messages, go to Tools>Options. From there, there’s a debugging ‘folder’ on the left side. Go there and then there is a button that says JIT Debugging or Settings or something like that. Click that. There is then a checkbox that says Enable debugging, uncheck that.
SeT-Thank you! Yours is the only solution that worked for me!
This DOES NOT WORK and is NOT A TRUE SOLUTION.
thank you so much, is working for me (windows xp)
It only worked after a full reboot for me
Thank you SeT. Is the only solution that works.
Regarding the solution proposed by SeT, I receive a message asking me to ‘step into a remote procedure call’ after I clisk ‘yes’ and Script Editor opens. Should I agree to this? It sounds strange and scary, especially as I have only recently reomved some Trojan viruses using Adaware and Avast.
I am working from a PC at home. The other solution proposed (clicking ‘disable script debugging’) did not work for me.
Have since followed your advices on the other thread relating to this topic – will let you know if it works!
Say yes to debugging. Say yest to debugging the script when it launches. Then break from script debugging. Then go into options on the debugger. Then go into debugging tab. Then go into JIT debugging. Turn off the JIT debugging. That should take care of it.
thanks for the suppor it really works !!!! thumbs up for the team
Thank you very much for the steps, I have tried to do this, let us see if this works,
these items have already been checked in my internet options, but I still get the error
I have done this as well, and still gettin that damn pop up. i dont have internet on this computer (currently using laptop) so all i do is try to play a game, and every 10 min the damn thing pops up, crashes my game, and leaves me frustrated. this has not helped me what – so – ever. any other tips. much appreciated.
its not working dear… i followed d same thing bt dis 2(- Disable Script Debugging (Internet Explorer)
- Disable Script Debugging (Others)) option was alrdy checked…
is der any othr solution…
Thanks Ken for the advice on the follow-up article. It worked for me. People, Read the Second article if this solution did not work.
http://www.kensfi.com/how-to-get-rid-of-just-in-time-debugging-ii/#comment-56685
Thanks Ken,
This really works for me. POP UP disappeared but returned in about 2 months but just repeated the process.
Life is good again!!
Chris
This won’t help much if you distribute your VBA app for others to use (it’s not practical to require others to change their IE settings in order to use the app). A better solution is outlined here:
http://www.ehow.com/how_6874601_disable-excel-visual-basic-debug.html
I got it to work by following ALL the steps. It appears it has to be disabled in your browser as described in the original post, and in the debugger itself as described by SeT and g above. My computer is fine, so don’t be hesitant about saying “yes” to the debugger, though I agree the thing certainly acts like malware. Afterward, re-boot the hard drive for good measure. As Chris above said, this just started happening to me about three weeks ago, so if it starts happening again, be prepared to repeat all this. And save the link to this page!
Just In Time Debugging window keeps popping up
try this if you are using windows xp pro(just update your windows
explorer)i hope this help
Simple Just reset your web setting by clicking tools>Internet option > And press the reset button. Also check the box delet personal data. Just restart your browser and yup here you done. Enjoy.
Visual Studio Just-In-Time Debugger
—————————
An unhandled exception (‘System.Reflection.TargetInvocationException’) occurred in dllhost.exe [5540]. 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/Just-In-Time.
Check the documentation index for ‘Just-in-time debugging, errors’ for more information..
please help me with this anyone,i`m getting this error when i`m starting a DLL in COM+…
thanks it worked! :)
yes ,,,,it works….thanxxxxx …..
worked fine for me. shut off debugger (others) then apply.left internet explorer debugger on. jit was only popping up when internet spades was loading. thnx again
After Visual Studio is installed on a server, the default behavior when an unhandled exception occurs is to show an Exception dialog that requires user intervention to either start Just-In-Time debugging or ignore the exception. This may be undesirable for unattended operation. To configure the server to no longer show a dialog when an unhandled exception occurs (the default behavior prior to installing Visual Studio), use the registry editor to delete the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger
from http://msdn.microsoft.com/en-us/library/5hs4b7a6(v=vs.80).aspx