如何使用vs2005调试Javascript?
IE - Tools - Options - Advanced 清除两个选项: - Disable Script Debugging (Internet Explorer) - Disable Script Debugging (Other)
VS2005 IDE - F5 to run the ASP.NET program.或者用IE浏览个画面,然后用Ctrl+Alt+P Attach IEXPLORER.exe这个Process.
VS2005 IDE - Ctrl-Alt-N to show the the Script Explorer 得到Render后的Html Source.
IE - View - Script Debugger - Open
IE - View - Script Debugger - Break at Next Statement 此后,操作Web Page,有脚本执行时,VS2005 IDE中就会显示脚本,可以单步执行、查看变量值等。
posted on
2008-01-08 09:29
Jacky Huang
阅读(
131)
评论()
编辑
收藏
举报