有没有办法获取ASP.NET页面命中的函数列表?我能想到的唯一方法是在Page_Load中放置一个断点并反复点击F11。我正在调试一个慢的page_load这就是我问的原因。
答案 0 :(得分:1)
page Load is too late you should start at page constructor or at least at page PreInit
您是否尝试过ANTS或Performance Wizard等分析器,或只是在asp.net Trace
答案 1 :(得分:1)
您想要的是分析。 Google搜索asp.net profiler并选择一个。另外asp.net trace提供有关方法调用时间的信息。
asp.net 1和2以及commercial ones都有内置解决方案。