> 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
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

Signature
http://barrkel.blogspot.com/