WHAT?? Exception handling somehow disabled in my environment?

  • Thread starter Thread starter Lance.Jellyfish
  • Start date Start date
L

Lance.Jellyfish

Hi, right now, something is very strange...
The .net exception handler is disabled!! When I throw an exception or
if I try to use an object that is not set ( = null) I do not receive
any exceptions at all.

I tried to use the Application.ThreadException event but nothing
happens, the execution just stops and the next message in the message
queue is processed...

Does anyone know what's wrong???

Regards
/Magnus
 
Hi Magnus,

Sometimes exceptions are caught by windows, and windows silently swallows
the exception.
Are the exceptions related to control events?
 
Hi Morten,

It seems someone swallows all kind of events. Both null reference
exceptions and user defined exceptions. I threw a ApplicationException
with the same result... or lack of result. Pretty dangerous!!
The same result in release mode and when I started the app from the
file explorer...

Any ideas?

Regards
/Magnus
 

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