最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to bypass "Visual Studio Just-In-Time Debugger" prompt - Stack Overflow

programmeradmin0浏览0评论

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"

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"

Share Improve this question edited Sep 25, 2010 at 2:52 Carlos Gil asked Sep 25, 2010 at 1:29 Carlos GilCarlos Gil 6054 gold badges12 silver badges25 bronze badges 5
  • Also, why does the prompt appear beneath the current windows? – Carlos Gil Commented Sep 25, 2010 at 1:34
  • I have Windows 7 x64, too. And this prompt is driving me nuts. – Linus Kleen Commented Jan 18, 2011 at 19:39
  • What's the target application (debuggee)? .NET application or native application? – Thomson Commented Jan 18, 2011 at 21:22
  • Is your intention to use the default debugger always, or would, say, generating a crash dump instead be acceptable? – Paul Williams Commented Jan 18, 2011 at 23:21
  • @Paul Williams, I want to debug a JavaScript on HTML on an ActiveX browser. Basically I just one a prompt to debug and see the offending line of code. Just ONE prompt, yes or no. – Carlos Gil Commented Jan 20, 2011 at 3:29
Add a ment  | 

2 Answers 2

Reset to default 3 +25

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./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.

发布评论

评论列表(0)

  1. 暂无评论