2.Fristly, You can set "break point" in page js block while js function in page or user control;
3.Secondly, You can't set "break point" directly while debugging js function of web custom control, In VS2008 please as the following steps:
(1).open the page which contains the js function you want to debug in browser, the "Attach to process" in IDE and select browser process.
(2). now, you will get new item in the "solution explorer", that means "script documents" and you can get the js file as "WebResource.axd" file.
(3). set "break point" ,and do js function operation, you can start debugging.
本文介绍如何在Internet Explorer中禁用脚本调试限制,并详细阐述了两种设置断点调试页面JavaScript块的方法:直接在页面或用户控件上设置及通过特定步骤调试Web定制控件内的JavaScript函数。
3万+

被折叠的 条评论
为什么被折叠?



