andremara
asked on
Local Variable name/value dump
I'd like a system dump upon exception of all local variables (names and values) at the time of the crash. I wonder. This may require reflection, at which I am clueless.
Any ideas?
Any ideas?
ASKER
THAT is really wild stuff Greg. I'm gonna have to read it a few times, but I think I'll use symbol server as well - to make the symbol load go smoother. The question here is, (and maybe this is due to the brief example), does this thing display variable names and values as well? The example only shows a call stack, which I already have with Environment.StackTrace.
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dude, your are a veritable encyclopedia! Thanks.
Andre
Andre
ASKER
over and beyond my expectations!
in particular in http://msdn.microsoft.com/msdnmag/issues/03/06/Bugslayer/ look at Figure 2 (the output from !CLRStack, it shows you locals + parameters)
Also if you like I have a presentation on this stuff from 2 years ago or so that I could email you the slides... just drop me a line this name@this site ...
Cheers,
Greg
Cheers,
Greg
http://www.codeproject.com/debug/postmortemdebug_standalone1.asp?df=100&forumid=3419&exp=0&fr=26 includes examples ...
Cheers,
Greg