Link to home
Start Free TrialLog in
Avatar of LucHoltkamp
LucHoltkamp

asked on

Errorhandling machinedependent

I noticed that some errors (floatingpoint exceptions) are catched by Windows (showing the exception dialog, and killing my app) on my laptop but not on my desktop. Even worse the exception shows only if a use a Release build.
This is anoying, because ofcourse it is a bug (in this case a initialisation bug resulting in a NAN converted to a long) but I would like to catch these bugs in my development enviroment (my desktop).
I wonder of installing a signal function would help, I doubt it (and not going to try it before I heard you're ideas) because the default signal handler aborts the program (sais the VC6 doc) but that doesn't happen. In fact on a desktop or debug build nothing happens at all! (the bug is ofcourse still there) Only with a release build on my laptop I get the exception.
Luc
ASKER CERTIFIED SOLUTION
Avatar of jhance
jhance

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial