Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 2.01 KB

asp.net-debugging.md

File metadata and controls

48 lines (28 loc) · 2.01 KB

Debugging ASP.NET

In the diag-pages you may find pages displaying information about the ASP.NET environment (MvcDiagnostics.aspx is copied from the MvcDiagnostics nuget package). You may copy them to an application folder and verify if the environment is configured accordingly to your specification.

Examining ASP.NET process memory (and dumps)

PSSCOR4 commands for ASP.NET:

!ProcInfo [-env] [-time] [-mem]

FindDebugTrue

!FindDebugModules [-full]

!DumpHttpContext dumps the HttpContexts in the heap.  It shows the status of the request and the return code, etc.  It also prints out the start time

!ASPXPages just calls !DumpHttpContext to print out information on the ASPX pages  running on threads.

!DumpASPNETCache [-short] [-stat] [-s]

!DumpRequestTable [-a] [-p] [-i] [-c] [-m] [-q] [-n] [-e] [-w] [-h]                   [-r] [-t] [-x] [-dw] [-dh] [-de] [-dx]

!DumpHistoryTable [-a]
!DumpHistoryTable dumps the aspnet_wp history table.

!DumpBuckets dumps entire request table buckets.

!GetWorkItems given a CLinkListNode, print out request & work items.

Netext commands for ASP.NET:

!whttp [/order] [/running] [/withthread] [/status <decimal>] [/notstatus <decimal>] [/verb <string>] [<expr>] - dump HttpContext objects

!wconfig - dump configuration sections loaded into memory

!wruntime - dump all active Http Runtime information

Links