[Mono-devel-list] [Patch] RReader not to rely on bounds checking

Ben Maurer bmaurer at ximian.com
Mon Jan 31 10:33:22 EST 2005


> You're talking about losing time? How much time did I lose just because
> my test program (I need for my cont. optimization work) did not run and
> mono did not return any meaningful error message? If the catch would not
>  have swallowed a SigSegv, it would have been a piece of cake, but so..

When cecil is ready to write an automatic bug checker, finding any
instance of:

try {
   ...
} catch {
}

could be investigated. At the very least, any such instance should make
the other exception as part of the "inner exception".

FYI, there is something you can do with --trace so that it documents any
exception being thrown (even if it gets caught). Don't have mono in front
of me, so I can't test off hand.

-- Ben





More information about the Mono-devel-list mailing list