Hi Dave,
I'm not aware of such documentation exists to describe when the default
trace messages are output for which event. However, if you take a look at
System.Web.UI.Page.ProcessRequestMain using Reflector
(
http://www.aisto.com/roeder/dotnet/), you can see the details such as:
if (context.TraceIsEnabled)
{
this.Trace.Write("aspx.page", "Begin PreInit");
}
...
this.PerformPreInit();
...
if (context.TraceIsEnabled)
{
this.Trace.Write("aspx.page", "End PreInit");
}
...
If the page is hang, I think you will need to use windbg to break in the
asp.net worker process to see the call stack of the hanging thread:
#Troubleshooting ASP.NET using WinDbg and the SOS extension
http://support.microsoft.com/kb/892277
If you need to know which method is the slowest, you need to use Profiler:
#Eric Jarvi : Beta 2 Whidbey ASP.NET Profiler HOWTO
https://blogs.msdn.com/ejarvi/archive/2005/04/08/406578.aspx
Using the "instrumentation" method and you will see which method is slowest.
Regards,
Walter Wang (
[email protected], remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.