!clrstack -p not giving the values of the parameters for the methods in the call stack

前端 未结 2 1994
野趣味
野趣味 2021-02-20 10:04

We are trying to analyze a w3wp memory dump using windbg and we found that w3wp process is crashing due to stack overflow. I loaded the psscor4.dll and got the call stack by iss

相关标签:
2条回答
  • 2021-02-20 10:04

    If you're running a release build you will usually not be able to track locals and parameters as they are optimized and store in registers. If you really need it, you can look at the JIT compiled code and locate the values in the registers but that may require a lot of book keeping.

    0 讨论(0)
  • 2021-02-20 10:30

    Such are the joys of debugging optimized code. If you use !sosex.mdv, you'll at least get the datatypes of your locals/args. Then you can run !sos.dso or !sosex.mdso to see the objects on the stack with their types. It's usually not terribly difficult to track down the arguments this way, though it does not always work.

    0 讨论(0)
提交回复
热议问题