all groups > dotnet clr > march 2007 >
You're in the

dotnet clr

group:

Call Stack variables



Call Stack variables Mike King
3/16/2007 10:45:10 AM
dotnet clr: How can one find out the values on the call stack? I would like when an
exception occurs to know the values passed to each of the functions up the
stack that resulted in the exception. I know this is possibly because
Visual Studio can show these values in the "Call Stack" window. Thanks

Re: Call Stack variables Barry Kelly
3/16/2007 6:48:13 PM
[quoted text, click to view]

Without launching a debugger in a separate process and having it attach
and examine your own process, I'm not aware of any viable way to do that
in .NET.

You could consider adapting or scripting the mdbg sample (Google 'mdbg
sample'), for example.

-- Barry

--
AddThis Social Bookmark Button