Sitecore 5.0 API

State.Tracing Property

Gets or sets a boolean that indicates if tracing data is collected.

[Visual Basic]
Public Shared Property Tracing As Boolean
[C#]
public static bool Tracing {get; set;}

Property Value

True, if DebugMode is true and tracing is enabled, otherwise false.

Remarks

When tracing the web engine collects information about the rendering process. This information is available on the Sitecore debug pages "http://www.mysite.net/sitecore/debug".

Tracing can only be enabled if DebugMode is true.

The scope of the value is session and it is stored in the Session variable "SC_TRACING".

See Also

State Class | Sitecore.Configuration Namespace | Profiling