I use SOS.dll in VisualStudio to debug my C# program. The program is as below.
The debug command is !DumpStackObjects.
class Program
{
static void Main()
{
Int32 result = f(1);
}
static Int32 f(Int32 i)
{
Int32 j = i + 1;
return j; <===========BreakPoint is here
}
}
After I input the "!dso" command in the immediate window of Visual Studio, the result is as below:
OS Thread Id: 0xf6c (3948)
ESP/REG Object Name
Why there's nothing? I thought there should be the args i and local variable j.
Thanks for my answering my naive questions...