Windbg Cant get values of locals

635 Views Asked by At

Iam using Windbg to debug my .net application and loading SOS.dll. After set breakpoint and hit it using command "P" to step into code. Every time a use command "P" I use also Command "!CLRStack -a" to get value or address of parameters and locals but local still all the time . I hope anyone can help me. Thank you in advance

1

There are 1 best solutions below

1
On

You will not get the local variable values if you are using release build. To have this facility, you should be analyzing the debug build or have private symbols for your appplication