Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling mysteries in .net
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Vista
Network:
Windows XP
Database:
Jet/Access Engine
Application:
Desktop
Miscellaneous
Thread ID:
01489266
Message ID:
01489443
Views:
32
Thanks Viv. It seems that the debugger even interrupts within try-catch-endtry constructs? Talking about "being careful for what your are asking for"? :)


>The debugger can be configured to break on an exception before any handler is invoked (i.e it overrides your coded exception handling)
>Open the Debug/Exception... dialog from the menu to check/modify which exceptions are caught in this way
>
>Read this (and related links) for more info:http://msdn.microsoft.com/en-us/library/x85tt0dd.aspx
>
>>>Does it even trap the exception? Do you throw the exeption to the previous exception handler?
>>>
>>Well it just interrupts the method it is in and just leaves, but continues at the next step after the call to the method where the terminal error occurred.
>>
>>Thanks.
>>
>>>>In "runtime" I don't seem to have a problem. I install a "global" error handler, and in case of unsupported errors, it triggers the errorhandler.... well most of the time.
>>>>
>>>>When I execute code in development, and there is an error, rather throwing a system (default) error; or appropriately call my errorhandler, the system seems to leave the method it is in and just continues.
>>>>
>>>>Is there a method of operation that solves this?
>>>>
>>>>Thanks.

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Reply
Map
View

Click here to load this message in the networking platform