Debugging a mixed mode application (C #, C ++)

I am debugging a problem in a mixed mode (managed and unmanaged) application.

The actual problem is unmanaged code.

I uploaded the SOS dll to Windebugger. But it shows me the call stack only until managed mode, since I loaded the SOS dll. How can I see the unmanaged code call stack?

+8
c # windbg sos crash-dumps
source share
2 answers

The SOS !dumpstack will create a complete stack trace with both managed and unmanaged code. Since this is a problem in unmanaged code, regular debug stack trace commands ( k and options) may also be useful.

+4
source share

! sosex.mk will give a full stack trace in a way that is easy to read.

+2
source share

All Articles