[Mono-list] RFC: Corlib Unit Test on Linux How-To

A Rafael D Teixeira rafaelteixeirabr@hotmail.com
Tue, 30 Apr 2002 20:46:45 -0300


>From: "Linus Upson" <linus@linus.com>

>Here is a test case that shows that the .Net runtime looks for a
>matching catch block before executing the finally blocks:
<SNIP>
>I'm not sure why they chose to do this, but it does look intentional.
>My only guess so far is that they wanted to allow developers the
>opportunity to inspect the program's state with a debugger before any of 
>the finally blocks ran.
>
>Linus


Indeed, I use that a lot, when debugging in VS.NET.

More importantly, in the IDE, you can choose which exceptions (by 
type/category not by try-block) you want to break into, before itīs 
processed, either by any catch block or by the finally block.

I hope that Mono debugging will integrate that well with SharpDevelop and 
with Linux Debugging environments.


Rafael Teixeira
Brazilian Developer


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com