From: David Vallner Date: 2006-11-09T08:06:34+09:00 Subject: Re: Exception catch-all --------------enig7074526DAC2F148A621B5FB9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Leslie Viljoen wrote: > I know > that doesn't work in C#.=20 Huh? As far as I know, Ruby's exception handling isn't in any way revolutionary compared to C++ derivatives, so if that solution works in Ruby (as others recommended), it should work in C# too... Also, that solution isn't much different from just dropping the "exception handling" (which it really isn't if you're just catching them on toplevel) and redirecting standard output to a file. Of course, the point remains with the thread scenario, and this doesn't apply if you need to log differently than just dump the trace someplace you'll find it later. David Vallner --------------enig7074526DAC2F148A621B5FB9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFUmL1y6MhrS8astoRAk/aAJ42US1JlZtlFoEX8bOIQeJKo7hBcACfeRQx W1pTjPgJLFa9bKxWanpqLUY= =8xfW -----END PGP SIGNATURE----- --------------enig7074526DAC2F148A621B5FB9--