This documentation is archived and is not being maintained.

Reading Trace Information

Whether you choose to view trace information appended at the end of an ASP.NET page or in the trace viewer, the information displayed is the same. ASP.NET organizes the trace information in a series of tables that provide diagnostic information about the request that you are viewing.

Trace information appears in the following order once you have enabled tracing for a page or application.

Request Details

ValueDescription
Session IDThe session identification for the specified request.
Time of RequestThe time the request was made.
Request EncodingThe character encoding for the request.
Request TypeThe HTTP method used. Can be GET or POST.
Status CodeThe status-code value associated with the response. For more information, see RFC 2616 about HTTP 1.1 at www.w3c.org.
Response EncodingThe character encoding for the response.

Trace Information

ValueDescription
CategoryThe custom trace category that you specified in a TraceContext.Warn or TraceContext.Write method call.
MessageThe custom trace message that you specified in a TraceContext.Warn or TraceContext.Write method.
From First (s)The time, in seconds, since the first message was displayed.
From Last (s)The time, in seconds, since the most recent message was displayed.

Control Tree

ValueDescription
Control IDThe identification for the control. If you have not specified an ID property for the control, ASP.NET generates an ID using the UniqueID property.
TypeThe fully qualified type of the control.
Render Size bytesThe size, in bytes, of the rendered control (including child controls). This is the size of the actual HTML, XML, or other format that is sent to the browser client.
Viewstate Size bytesThe size, in bytes, of the control's view state (excluding child controls). For more information, see Web Forms State Management.

Cookies Collection

ValueDescription
NameThe name of the cookie.
ValueThe value of the cookie, or subkeys/values if multivalued.
SizeThe size, in bytes, of the cookie.

Headers Collection

ValueDescription
NameThe name of the header.
ValueThe value of the header.

Form Collection

ValueDescription
NameThe name of the form variable.
ValueThe value of the form variable.

Server Variables

ValueDescription
NameThe name of the server variable.
ValueThe value of the server variable.

See Also

ASP.NET Trace

Show: