When attaching WinDbg to my ASP.NET MVC app and calling !ClrStack -a
when an exception has occurred, I'm seeing no locals or params values. All I see is <NO DATA>
appear.
Why is this happening? What settings in my project can I check?
I appreciate I can see the objects in quesiton via a !dso
call and finding the objects I'm interesting in the output, but that's not a good solution for me, since I need to know exactly the objects being passed into a specific function - I don't want to spend ages picking eah object address and doing a !do
on them.
The app is built in DEBUG
mode. When viewing a stack, all the methods and types appear in the output, so I'm assuming there is no issue with symbols, though I'm willing to try any commands necessary to re-sync or update the symbols if required.
The CPU architecture is ANY CPU
and we are running Windows Server 2008 R2 64-bit.
I tried using SOSEX's !mk
!mframe
and !mdv
commands, to list param and locals, but they show <UNAVAILABLE>
.
EDIT:
Here is an example of the type of output I'm seeing: