标签归档:Sys.Debug.trace

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 为了看...... [阅读全文]