Trapping Global Application Errors

  • Thread starter Thread starter robear
  • Start date Start date
R

robear

Hi All.

I have an application that has started to give me "memory cannot be
read" errors. This app uses several threads and I suspect the thread
has closed, but the garbage collection is hitting a snag trying to
clean up.

I have included Try Catches throughout the code, but none of these gets
triggered.

Is there a way to have a global "Catch" for the application errors that
might help me narrow down the offending area?

Thanks,
Robert
 
I have an application that has started to give me "memory cannot be
read" errors.
Is there a way to have a global "Catch" for the application errors that
might help me narrow down the offending area?

Handle both UnhandledException and ThreadException exceptions.
 

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

Back
Top