标签归档:跟踪

web developer tips (77):在ASP.NET启动启动页面级跟踪

原文地址: How to enable Page Level Tracing for your ASP.NET […]


原文地址: How to enable Page Level Tracing for your ASP.NET pages 在调试Asp.net的web应用的时候,启动页面级跟踪,将会给一大串的有用信息。这些跟踪信息可以帮助我们理解控件在各种视图状态下的运行情况,比如PreInit(事件)的开始和结束时,Init事件的开始和结束状态,Render事件的开始和结束状态 等等。这些信息会出现在页面的底部。默认情况下页面级跟踪是不开启的。 http://www.watch-life.net/visual-studio/enable-page-level-tracing-for-your-asp-net-pages.html 跟踪可以页面级和应用级启动。 ...... [阅读全文]

web developer tips (15):在ASP.NET Ajax里使用跟踪

原文地址: How to use tracing with ASP.NET Ajax 如果你在使用ASP.NE […]


原文地址: How to use tracing with ASP.NET Ajax 如果你在使用ASP.NET Ajax的时候,遇到一个页面问题,想在调试时候跟踪语句,有个比较快速的方法:使用“Sys.Debug.trace”函数。 <script language="javascript" type="text/javascript"> function PositionDiv() { Sys.Debug.trace("Entering PositionDiv Function"); //some other code Sys.Debug.trace("Exiting PositionDiv Function"); } </script> http://www.watch-life.net/visual-studio/use-tracing-with-asp-net-ajax.html 为了看...... [阅读全文]