Unhandled exception - get local variable values

O

Oleg.Ogurok

Hi there,

Let's assume the following situation:
An application is working in DEV environment but failing in production
because of a specific combination of data not handled properly.
Things like that are sometimes pretty hard to catch or predict since
developers are rarely power users of the application.

I know there is a way to catch all unhandled exceptions and then report
the stack trace to the develoeprs (e.g. via e-mail). I'm wondering if
there is a way to catch the values of all local variables in the method
where the exception occured. This would definitely help troubleshooting
problems.

I've heard of 3rd party products that do that exact thing.

Any help is gladly appreciated.

Thanks,

-Oleg.
 
C

Cor Ligthert [MVP]

Oleg,

The current Microsoft Windows systems have a lot build in to log exceptions.
That feature is not only restricted to the operating system.

Just my thought when I did read your question.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top