Visual Studio Just-In-Time Debugger prompts to select "Possible Debuggers",
only "New instance of Microsoft Visual Studio 2010" is available,
I tick "Set the currently selected debugger as the default", click "Yes",
but, the dialog keeps being displayed every time.
I am debugging JavaScript in IE8 on Windows 7 x64.
How do I bypass this prompt?
These registry values do not solve the problem:
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
"Auto"="1"
[HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug]
"Auto"="1"
Enable or disable Just-In-Time debugging in Visual Studio You can configure Just-In-Time debugging from the Visual Studio Tools > Options (or Debug > Options) dialog box. To enable or disable Just-In-Time debugging: On the Tools or Debug menu, select Options > Debugging > Just-In-Time.
You can also click on the line you want to skip to and hit Ctrl+F10 (Run to Cursor).
The "Set Next Statement" (CTRL+SHIFT+F10) shortcut will work at the end of a function... but you need to use the mouse though as well. On VS 2019 there are those green arrows in front of lines, hold CTRL key and you can set next statement directly there, skipping anything in between.
I actually just did this the other day.
In the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Messenger\Client]
Create 2 new DWORDs (Right-click --> New --> DWORD Value
)
PreventAutoRun
and PreventRun
Set both values to 1
Have you tried doing so directly from Visual Studio?
http://msdn.microsoft.com/en-us/library/5hs4b7a6.aspx
Scroll to "Enabling or disabling Just-In-Time debugging".
You can disable it only for Script if that's what you want.
Let me know how this works for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With