VS2008如果关闭自动启用脚本调试功能??

kingnew 2010-10-29 03:59:01
环境:VS2008 + IE8

在IE8中将“禁用脚本调试(InternetExplorer)”和“禁用脚本调试(其他)”都钩选上了,但在VS2008中调试时时还是会自动打开脚本调试功能。

Google一下,有网友提到“IE8高级选项中的禁用脚本调试设置对Visual Studio一点影响都没有,因为Visual Studio 2008在调试器启动的时候会自动启用脚本调试(可以通过注册表禁用此特性)”,不知这个注册表禁用此特性在哪里??
...全文
320 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
SoCsy 2010-11-01
  • 打赏
  • 举报
回复
你弄完重启电脑试一下呢?
SoCsy 2010-11-01
  • 打赏
  • 举报
回复
Microsoft 脚本调试程序工具关闭实时调试的方法有两种:
1、打开IE浏览器然后选择工具- internet选项-高级,把“禁用脚本调试(Internet Explorer)”和“禁用脚本调试(其它)”前面打上对钩,找到“显示每个脚本错误的通知”并取消其勾选。确定即可。

2、开始---运行,msconfig,回车,打开系统配置实用程序。再服务选项卡中,把“script blocking service”前的对钩点掉,确定。重启电脑即可。
马老虎 2010-11-01
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 kingnew 的回复:]

引用 1 楼 xiehuanxie 的回复:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\AeDebug
Debugger


试过,不行呀
[/Quote]

为什么去掉?
直接F5不就行了
kingnew 2010-11-01
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 rock870210 的回复:]
开始---运行,msconfig,回车,打开系统配置实用程序。再服务选项卡中,把“script blocking service”前的对钩点掉,确定。重启电脑 试试
[/Quote]

没找到这个服务(我是windows7).
kingnew 2010-11-01
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 xiehuanxie 的回复:]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\AeDebug
Debugger
[/Quote]

试过,不行呀
kingnew 2010-11-01
  • 打赏
  • 举报
回复
终于找到了解决的方法,贴出来,有同样问题的童鞋可以参考一下
http://www.visualstudiodev.com/visual-studio-debugger/how-to-disable-auto-script-debugging-in-vs-2008-12615.shtml

//以下是解决的方法(我转贴出来,详见原网页)
Automatically enable IE script deugging is a new feature in IE8.
I have contacted our newsgroup members and got serveral workarounds about disabling this automatically script debugging:
Workaround one:
1. Start without debugging (press Ctrl + F5)
2. Attach Visual Studio Debugger to WebDev.WebServer.exe process
Workaround two:
1. Right click the Web application and choose Properties,
2. Click Web tab on the left and choose "Don't open page" radio button on the left panel
3. Start Debugging (press F5)
4. Open IE and navigate the URL.
Workaround three:
1. Open the application Property page and choose Web tab
2. Click "Start External Program" radio button and input the path to the iexplorer.exe
3. Type the URL in the "Command line argument" option
4. Press F5 and start debugging.

devin_jia 2010-11-01
  • 打赏
  • 举报
回复
设置是没用
Rock870210 2010-10-29
  • 打赏
  • 举报
回复
开始---运行,msconfig,回车,打开系统配置实用程序。再服务选项卡中,把“script blocking service”前的对钩点掉,确定。重启电脑 试试
Return门徒 2010-10-29
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 xiehuanxie 的回复:]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\AeDebug
Debugger
[/Quote]
xiehuanxie 2010-10-29
  • 打赏
  • 举报
回复
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\AeDebug
Debugger

110,502

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧