Skip to content

Instantly share code, notes, and snippets.

@dannyc02
Created February 8, 2018 15:15
Show Gist options
  • Save dannyc02/292f655c6dccb52491d53561592ee801 to your computer and use it in GitHub Desktop.
Save dannyc02/292f655c6dccb52491d53561592ee801 to your computer and use it in GitHub Desktop.
Azure Profiling
Getting a dump file:
1) Open up kudu
2) cd Logfiles
3) md Dumps
4) cd Dumps
5) d:\devtools\sysinternals\procdump -accepteula -ma <PID here> (see processes tab in Azure)
6) Download
WinDbg:
1) Open X64 WinDbg
2) File > Set Symbol Path > http://msdl.microsoft.com/download/symbols
3) Open .dmp (Ctrl+D)
4) !load C:\Windows\Microsoft.NET\Framework64\v4.0.30319\sos.dll
5) !runaway
6) ~<thread number>s e.g. ~1s
7) !dumpstack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment