简体   繁体   English

Visual Studio 2012 JavaScript调试

[英]Visual Studio 2012 JavaScript Debugging

All of a sudden, launching a web site in debug mode using Visual Studio 2012 no longer attaches the JavaScript debugger. 突然之间,使用Visual Studio 2012以调试模式启动网站时,不再附加JavaScript调试器。 I have to manually attach to the new Internet Explorer process that launched, and I have to do this everytime that I launch the debugger. 我必须手动附加到已启动的新Internet Explorer进程,并且每次启动调试器时都必须这样做。 I have searched the web all day and have tried numerous things to fix this, and nothing seems to work. 我整天都在网上搜索过,并尝试了许多方法来解决此问题,但似乎没有任何效果。

I have tried the following: 我尝试了以下方法:
1. Resetting my Visual Studio settings 1.重置我的Visual Studio设置
2. Repairing Visual Studio 2.修复Visual Studio
3. Reinstalling Visual Studio 3.重新安装Visual Studio
4. Running the following command: 4.运行以下命令:
regsvr32.exe "%ProgramFiles(x86)%\\Common Files\\Microsoft Shared\\VS7Debug\\msdbg2.dll regsvr32.exe“%ProgramFiles(x86)%\\ Common Files \\ Microsoft Shared \\ VS7Debug \\ msdbg2.dll

Does anyone have any suggestions? 有没有人有什么建议? Thanks in advance! 提前致谢!

I have fixed my issue. 我已经解决了我的问题。 For reference for others, here are the exact steps I did: 供我参考,以下是我所做的确切步骤:

  1. Open Control Panel > Turn Windows features on or off 打开控制面板>打开或关闭Windows功能
  2. Uncheck Internet Explorer 10 取消选中Internet Explorer 10
  3. Click Ok 点击确定
  4. Restart 重新开始
  5. After restart open Control Panel > Turn Windows features on or off 重新启动后,打开控制面板>打开或关闭Windows功能
  6. Check Internet Explorer 10 检查Internet Explorer 10
  7. Click Ok 点击确定
  8. Restart 重新开始

At this point my JavaScript debugging worked again. 此时,我的JavaScript调试再次起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM