且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

JavaScript调试在Visual Studio 2010中不起作用

更新时间:2023-01-03 13:53:20

  1. 当您通过按"F5"从Visual Studio直接运行应用程序时,会收到任何错误或警告.
  2. 您是否尝试过重置IIS?
  1. Do you get any error or warning when you directly run the application from visual studio by pressing "F5".
  2. Did you try resetting the IIS?

很抱歉提出一些非常基本的问题

Sorry to ask some very basic question

  • 您的Windows 7 OS是64位吗?因为我使用Windows 7 Professional(32位)以及Visual Studio 2010和IE 9.0,所以它可以正常工作.我也以管理员权限运行Visual Studio

  • Is your windows 7 OS 64 bit ? Because i use Windows 7 Professional (32-bit) and Visual studio 2010 and IE 9.0, it works without issues. Also i run the visual studio with administrator privileges

您是否有机会研究以下讨论同一问题的主题,

Did you get chance to look into the following threads which discussion about the same issue,

如果启用Silverlight调试,则会完全禁用ASP.NET调试.在项目的属性中取消选中Silverlight调试->网络重新启用调试- http://social.msdn.microsoft.com/Forums/zh-CN/6809f828-09b9-4e3e-a8f2-cbde2c4c69b4/unable-to-debug-javascript-in-vs2010?forum=vsdebug

if you enable Silverlight debugging, it completely disables ASP.NET debugging.  Unchecking Silverlight Debugging in the project's Properties --> Web re enables debugging - http://social.msdn.microsoft.com/Forums/en-US/6809f828-09b9-4e3e-a8f2-cbde2c4c69b4/unable-to-debug-javascript-in-vs2010?forum=vsdebug

谢谢