Exception handling again

  • Thread starter Thread starter Armin Zingler
  • Start date Start date
A

Armin Zingler

Hi,

when does the IDE catch an exception? I can start my
application (from the IDE with the debugger attached)
and cause a TargetInvocationException. Sometimes it is
caught by the debugger, sometimes the app just quits.
In both cases, the exception is displayed in the output window.
I'm unable to find out when it is caught and when not. Any clue?
 
Am 14.01.2011 15:50, schrieb Armin Zingler:
Hi,

when does the IDE catch an exception? I can start my
application (from the IDE with the debugger attached)
and cause a TargetInvocationException. Sometimes it is
caught by the debugger, sometimes the app just quits.
In both cases, the exception is displayed in the output window.
I'm unable to find out when it is caught and when not. Any clue?

I can [x] check the exception in the Exceptions dialog, then
it is always caught, but even if the entry is unchecked, the IDE
should behave consistently because I can not check all exceptions
in the Exceptions dialog.
 
Am 14.01.2011 15:55, schrieb Armin Zingler:
Am 14.01.2011 15:50, schrieb Armin Zingler:
Hi,

when does the IDE catch an exception? I can start my
application (from the IDE with the debugger attached)
and cause a TargetInvocationException. Sometimes it is
caught by the debugger, sometimes the app just quits.
In both cases, the exception is displayed in the output window.
I'm unable to find out when it is caught and when not. Any clue?

I can [x] check the exception in the Exceptions dialog, then
it is always caught, but even if the entry is unchecked, the IDE
should behave consistently because I can not check all exceptions
in the Exceptions dialog.

If I'm fortunate that the IDE breaks at the exception and if
I open the "details" for the exception, it just says
"Fehler bei der Eigenschaftsauswertung" (which means "error evaluating property"),
so I am unable to examine the exception. Why that?

http://www.abload.de/image.php?img=exceptiondetails4mak.png
 
Back
Top