Unhandled exception - get local variable values

  • Thread starter Thread starter Oleg.Ogurok
  • Start date Start date
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.
 
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
 
Back
Top