#11:Examining Generators Via CLR-WINDGB/NSTD

We can Examine the Generator Type(https://rangeshcode.wordpress.com/2014/08/03/10types-of-generators-gc/)  of Application using WinDbg/NSTD.

Steps(NSTD/WinDBG):

1 .symfix

2. .reload

3.g(Run exe)

4.ctrl+Break/Break -Break in Exception

5. .loadby sos clr (.net 4.0 >Above)

6.~0s(First Stack)

7. !eeheap -gc

8.To know the generation use sosex(.load sosex) and use !gcgen addreess.

 

Capture