8

I am debugging an issue with a mixed mode (managed and unmanaged) application.

The actual issue is within the unmanaged code.

I have loaded SOS dll into Windebugger. But is shows me the call stack only upto managed mode since i have loaded SOS dll. How do I see the call stack of unmanaged code as well?

Rockstart
  • 2,337
  • 5
  • 30
  • 59

2 Answers2

4

The SOS command !dumpstack will produce a complete stack trace with managed and unmanaged code. Since it's an issue in unmanaged code, the usual debugger stack trace commands (k and variants) may also be useful.

Iridium
  • 23,323
  • 6
  • 52
  • 74
2

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

Steve Johnson
  • 2,958
  • 13
  • 15