Use the tracking viewer to view ASP. NET trace information

Source: Internet
Author: User

In Asp.net, you can enable the <trace> node element under the <system. Web> element node to activate the access trace. The details of the information are also surprising: including the entire request process, request parameters, and return value (viewstate)

System. Web. Trace <! -- Enable access tracing. This information is very detailed. You can see the entire access process and the transmission of parameters.
Requestlimit: Number of Trace resource limits
Mostrecent: Indicates whether to retain the latest trace resources, which can be used with requestlimit. If mostrecent is false, when the number of trace resources is 5,
Otherwise, keep the latest five records.
Pageoutput: whether the trace information is false on each page. You can view it by visiting $ {web root path}/trace. axd.
-->
< Trace Enabled = "True" Requestlimit = "5" Mostrecent = "True" Pageoutput = "False" />

 

 

After the trace element is enabled, you can view the access trace information.

Ajax1
[Clear current trail]
Physical Directory: D: "project" Net "vs2005" webapp "ajax1"
This applicationProgramRequest Remaining: 0
No. Request time File StatusCode Predicate  
1 1:56:46 /A.gif 200 Get View Details
2 1:56:47 /Multiupdateprogress. aspx 200 Post View Details
3 1:57:09 /Updateprogress1.aspx 200 Get View Details
4 1:57:09 /A.gif 200 Get View Details
5 1:57:11 /Updateprogress1.aspx 200 Post View Details
Microsoft. NET Framework Version: 2.0.50727.1433; ASP. NET version: 2.0.50727.1433

 

Click "View Details" next to the page to view the detailed tracking process of the page.

Request details

Request details
Session ID: Request type: Post
Request time: 1:56:47 Status Code: 200
Request Code: Unicode (UTF-8) Response Code: Unicode (UTF-8)
Tracking Information
Category Message From first (S) From last (s)
Aspx. Page Begin preinit
Aspx. Page End preinit 5.6711118312523e-05 0.000057
Aspx. Page Begin init 9.22.162138972048e-05 0.000035
Aspx. Page End init 0.00159489544062164 0.001503
Aspx. Page Begin initcomplete 0.00163512401715861 0.000040
Aspx. Page End initcomplete 0.00166976529139877 0.000035
Aspx. Page Begin loadstate 0.00169853989822729 0.000029
Aspx. Page End loadstate 0.0242374379984048 0.022539
Aspx. Page Begin processpostdata 0.0242988983236696 0.000061
Aspx. Page End processpostdata 0.0302901625765286 0.005991
Aspx. Page Begin Preload 0.0303382133762811 0.000048
Aspx. Page End Preload 0.0303683848086838 0.000030
Aspx. Page Begin Load 0.0303963213201678 0.000028
Aspx. Page End Load 0.0304348737060157 0.000039
Aspx. Page Begin processpostdata second try 0.0304636483128442 0.000029
Aspx. Page End processpostdata second try 0.0305063911754148 0.000043
Aspx. Page Begin raise changedevents 0.0305334895915542 0.000027
Aspx. Page End raise changedevents 0.0311260230001299 0.000593
Aspx. Page Begin raise postbackevent 0.0311648547510927 0.000039
Aspx. Page End raise postbackevent 3.04188549103308 3.010721
Aspx. Page Begin loadcomplete 3.04195253866064 0.000067
Aspx. Page End loadcomplete 3.04198326882327 0.000031
Aspx. Page Begin prerender 3.04201148469987 0.000028
Aspx. Page End prerender 3.04320800548673 0.001197
Aspx. Page Begin prerendercomplete 3.04325158644465 0.000044
Aspx. Page End prerendercomplete 3.04770271081939 0.004451
Aspx. Page Begin savestate 3.04888666017608 0.001184
Aspx. Page End savestate 3.04902885701954 0.000142
Aspx. Page Begin savestatecomplete 3.04906266019843 0.000034
Aspx. Page End savestatecomplete 3.0490959046471 0.000033
Aspx. Page Begin render 3.04912328242835 0.000027
Aspx. Page End render 3.14082544010482 0.091702
Control tree
Control uniqueid Type Number of bytes in size (including sub-level) Viewstate size byte count (not including child level) ControlState size byte (not including child level)
_ Page ASP. multiupdateprogress_aspx 1019 0 0
Ctl06 System. Web. UI. literalcontrol 0 0 0
Ctl00 System. Web. UI. htmlcontrols. htmlhead 0 0 0
Ctl01 System. Web. UI. htmlcontrols. htmltitle 0 0 0
Ctl07 System. Web. UI. literalcontrol 0 0 0
Form1 System. Web. UI. htmlcontrols. htmlform 0 0 0
Ctl08 System. Web. UI. literalcontrol 0 0 0
Scriptmanager1 System. Web. UI. scriptmanager 0 0 0
Ctl09 System. Web. UI. literalcontrol 0 0 0
Updatepanel1 System. Web. UI. updatepanel 0 0 0
Ctl02 System. Web. UI. Control 0 0 0
Ctl10 System. Web. UI. literalcontrol 0 0 0
Updateprogress1 System. Web. UI. updateprogress 0 0 0
Ctl04 System. Web. UI. Control 0 0 0
Ctl11 System. Web. UI. literalcontrol 0 0 0
Ctl12 System. Web. UI. literalcontrol 0 0 0
Label1 System. Web. UI. webcontrols. Label 0 28 0
Ctl13 System. Web. UI. literalcontrol 0 0 0
Button1 System. Web. UI. webcontrols. Button 0 0 0
Ctl14 System. Web. UI. literalcontrol 0 0 0
Ctl15 System. Web. UI. literalcontrol 0 0 0
Updatepanel2 System. Web. UI. updatepanel 0 0 0
Ctl03 System. Web. UI. Control 0 0 0
Ctl16 System. Web. UI. literalcontrol 0 0 0
Updateprogress2 System. Web. UI. updateprogress 0 0 0
Ctl05 System. Web. UI. Control 0 0 0
Ctl17 System. Web. UI. literalcontrol 0 0 0
Ctl18 System. Web. UI. literalcontrol 0 0 0
Label2 System. Web. UI. webcontrols. Label 0 28 0
Ctl19 System. Web. UI. literalcontrol 0 0 0
Button2 System. Web. UI. webcontrols. Button 0 0 0
Ctl20 System. Web. UI. literalcontrol 0 0 0
Ctl21 System. Web. UI. literalcontrol 0 0 0
Ctl22 System. Web. UI. literalcontrol 0 0 0
Session Status
Session Key Type Value
Application Status
Application key Type Value
Cookie set
Name Value Size
Response Cookie set
Name Value Size
Header set
Name Value
Cache-control No-cache, no-Cache
Connection Keep-alive
Keep-alive 300
Pragma No-Cache
Content-Length 326
Content-Type Application/X-WWW-form-urlencoded; charset = UTF-8
Accept Text/html, application/XHTML + XML, application/XML; q = 0.9, */*; q = 0.8
Accept-charset Gb2312, UTF-8; q = 0.7, *; q = 0.7
Accept-Encoding Gzip, deflate
Accept-Language Zh-CN, ZH; q = 0.5
Host Localhost: 3764
Referer Http: // localhost: 3764/ajax1/multiupdateprogress. aspx
User-Agent Mozilla/5.0 (windows; U; Windows NT 5.1; ZH-CN; RV: 1.9.0.1) Gecko/2008070208 Firefox/3.0.1
X-microsoftajax Delta = true
form set
name value
scriptmanager1 updatepanel2 | button2
__ eventtarget
__ eventargument
__ viewstate /region
__ eventvalidation /wewawlfh/qtcakm54rgbgk7q7ggchjyioqqzurrobmz6gmnx1so/Agx
button2 button
Querystring set
Name Value
Server Variables
Name Value
all_http http_cache_control: No-cache, no-Cache http_connection: keep-alive connections: 300 http_pragma: No-Cache http_content_length: 326 http_content_type: Application/X-WWW-form-urlencoded; charset = UTF-8 http_accept: text/html, application/XHTML + XML, application/XML; q = 0.9, */*; q = 0.8 http_accept_charset: gb2312, UTF-8; q = 0.7, *; q = 0.7 http_accept_encoding: gzip, deflate http_accept_language: ZH-CN, ZH; q = 0.5 http_host: localhost: 3764 http_referer: http: // localhost: 3764/ajax1/multiupdateprogress. aspx http_user_agent: Mozilla/5.0 (windows; U; Windows NT 5.1; ZH-CN; RV: 1.9.0.1) Gecko/2008070208 Firefox/3.0.1 http_x_microsoftajax: Delta = true
All_raw Cache-control: No-cache, no-Cache connection: keep-alive: 300 Pragma: No-Cache Content-Length: 326 Content-Type: application/X-WWW-form-urlencoded; charset = UTF-8 accept: text/html, application/XHTML + XML, application/XML; q = 0.9 ,*/*; Q = 0.8 accept-charset: gb2312, UTF-8; q = 0.7, *; q = 0.7 accept-encoding: gzip, deflate accept-language: ZH-CN, ZH; Q = 0.5 HOST: localhost: 3764 Referer: http: // localhost: 3764/ajax1/multiupdateprogress. aspx User-Agent: Mozilla/5.0 (windows; U; Windows NT 5.1; ZH-CN; RV: 1.9.0.1) Gecko/2008070208 Firefox/3.0.1 X-microsoftajax: Delta = true
Appl_md_path  
Appl_physical_path D: "project" Net "chqapp" vs2005 "webapp" ajax1"
Auth_type  
Auth_user  
Auth_password  
Logon_user HQM-CHQ "Administrator
Remote_user  
Cert_cookie  
Cert_flags  
Cert_issuer  
Cert_keysize  
Cert_secretkeysize  
Cert_serialnumber  
Cert_server_issuer  
Cert_server_subject  
Cert_subject  
Content_length 326
Content_type Application/X-WWW-form-urlencoded; charset = UTF-8
Gateway_interface  
HTTPS  
Https_keysize  
Https_secretkeysize  
Https_server_issuer  
Https_server_subject  
Instance_id  
Instance_meta_path  
Local_addr 127.0.0.1
Path_info /Ajax1/multiupdateprogress. aspx
Path_translated D: "project" Net "chqapp" vs2005 "webapp" ajax1 "multiupdateprogress. aspx
QUERY_STRING  
Remote_addr 127.0.0.1
Remote_host 127.0.0.1
Remote_port  
Request_method Post
Script_name /Ajax1/multiupdateprogress. aspx
SERVER_NAME Localhost
Server_port 3764
Server_port_secure 0
Server_protocol HTTP/1.1
Server_software  
URL /Ajax1/multiupdateprogress. aspx
Http_cache_control No-cache, no-Cache
Http_connection Keep-alive
Http_keep_alive 300
Http_pragma No-Cache
Http_content_length 326
Http_content_type Application/X-WWW-form-urlencoded; charset = UTF-8
Http_accept Text/html, application/XHTML + XML, application/XML; q = 0.9, */*; q = 0.8
Http_accept_charset Gb2312, UTF-8; q = 0.7, *; q = 0.7
Http_accept_encoding Gzip, deflate
Http_accept_language Zh-CN, ZH; q = 0.5
Http_host Localhost: 3764
Http_referer Http: // localhost: 3764/ajax1/multiupdateprogress. aspx
Http_user_agent Mozilla/5.0 (windows; U; Windows NT 5.1; ZH-CN; RV: 1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Http_x_microsoftajax Delta = true
Microsoft. NET Framework Version: 2.0.50727.1433; ASP. NET version: 2.0.50727.1433

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.