Skip to content

Instantly share code, notes, and snippets.

@303248153
Last active February 6, 2018 09:45
Show Gist options
  • Save 303248153/a35f4d963330a3e42934b47a075d935b to your computer and use it in GitHub Desktop.
Save 303248153/a35f4d963330a3e42934b47a075d935b to your computer and use it in GitHub Desktop.
Install windbg from:
http://msdn.microsoft.com/windows/hardware/hh852362
Execute windbg, select File => Open Executable,
choose C:\Program Files\dotnet\dotnet.exe and use "c:\path\to\application.dll" as arguments (don't forget the double quotes if path contains space).
Use commands:
sxe ld clr
g
.loadby sos coreclr
!bpmd ConsoleApp1.dll ConsoleApp1.Program.Main
g
!DumpStackObjects
!DumpObj /d 000001f9b8a54610
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment