How to bypass “Visual Studio Just-In-Time Debugger

2019-01-25 08:55发布

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"

2条回答
The star\"
2楼-- · 2019-01-25 09:09

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.

查看更多
SAY GOODBYE
3楼-- · 2019-01-25 09:16

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

查看更多
登录 后发表回答