http://stackoverflow.com/questions/362124/how-to-trace-all-local-variables-when-an-exception-occurs
On Tue, Sep 28, 2010 at 3:27 PM, Kees de Winter <[email protected]> wrote: > Hi, > > I am looking for a way to improve bug reports, by including state > information of all kinds of variables at the moment of the exception. > For me it's about vb.net winforms VS 2010 apps but will probably apply > to other areas as well. I probably need reflection as I don't want to > manually code it for all functions, that will be too much. > > All my functions and subs have a try-catch, so in the catch I need the > value of variables. Is this possible with reflection? Something like > the "watch local variables" in the debugger. > > Thanks for any of your suggestions > Kees
