假如你通过启用“partial rendering”进行服务器端Tracing来Debug页面(即页面中包含一个启用了EnablePartialRendering的ScriptManager和一个Mode为Conditional的UpdatePanel),那么你可以使用Trace视图(Trace.axd)来显示页面输出根踪信息。此时,你可以在页面一开始呈现时就看到根踪输出信息显示在页面的尾部,但是这些信息不会在异步Postback后进行更新,这是因为仅仅只有UpdatePanel的内容需要在变化时被更新。关于使用Trace viewer的更多信息,请参看 ASP.NET Trace.
Internet Explorer normally ignores any problems it encounters in javascript. To enable debugging, from the Tools menu, select Internet Options. 默认情况下,IE会忽略掉Javascript错误。为了支持Debug,请打开IE的Tools菜单,选择Internet Options,在Advanced选项页,清除Disable Script Debugging(Internet Explorer)和Disable Script Debugging(Other)复选框的选择,并选中Display a nofication about every script error.结果如下图所示: