Hi, Is there any way I could get my managed code call stack when my managed+unmanaged application crashes? (I am using managed code under MMC 3.0). You know when it pops up with a suggestion to report the problem to MS, can I somehow see the call stack ? //Misha
"Mikhail" wrote in message news:elEL$zK3IHA.3500@TK2MSFTNGP05.phx.gbl... > Hi, > > Is there any way I could get my managed code call stack when my > managed+unmanaged application crashes? (I am using managed code under MMC > 3.0). You know when it pops up with a suggestion to report the problem to > MS, can I somehow see the call stack ? > > //Misha Hi Misha, you can set up windows reporting to generate a dump file on every crash. Open the dump file with WinDbg and load the sos extention to get managed commands loaded in WinDbg. Use !clrstack or !dumpstack commands to see your currect thread stack. You can also see all threads using the !threads command and change the active thread with ~<threadnumber>s. There is a tool from Ingo Rammer called SOSAsisst which automates most of these commands for you. Good luck, Martin Kulov www.kulov.net