[Cppunit-devel] Exception not caught by DefaultProtector
Brought to you by:
blep
From: CppUnit d. m. l. <cpp...@li...> - 2006-07-28 07:09:35
|
Hi All,=20 =20 I created an XCode project that builds a static cppunit test library and = an XCode version of the simple test example. When I run this from XCode, = the testDivideByZero test generates an EXC_ARITHMETIC signal that stops = XCode. Shouldn't this be caught by the DefaultProtector?=20 =20 When I run from the command line and not XCode, I get = 'ExampleTestCase::testDivideByZeroFloating point exception'=20 =20 Any idea why the DefaultProtector doesn't catch the exception? I do = have exceptions turned on.=20 =20 Thanks,=20 -Mike=20 |