A
Alfonso Morra
Hi,
I have written a simple test harness (exe) for a C++ (native) DLL that
exports some C++ objects. The objects throw exceptions when they an
error occurs in the Ctor, and the test harness is supposed to catch the
exception.
I have noticed that when I am debugging the DLL (i.e. using the test
harness executable as the app to call the DLL), the exceptions are
caught (as expected), in the test harness code. However, when I am
debugging the test harness application (i.e. simply stepping through the
code of the test harness), the exceptions are not being caught. Has
anyone come across this before - is this a "feature" or a bug?
I have written a simple test harness (exe) for a C++ (native) DLL that
exports some C++ objects. The objects throw exceptions when they an
error occurs in the Ctor, and the test harness is supposed to catch the
exception.
I have noticed that when I am debugging the DLL (i.e. using the test
harness executable as the app to call the DLL), the exceptions are
caught (as expected), in the test harness code. However, when I am
debugging the test harness application (i.e. simply stepping through the
code of the test harness), the exceptions are not being caught. Has
anyone come across this before - is this a "feature" or a bug?