Jump to content
alogrep

Exception not caught

Recommended Posts

Hi.

It is a few days that the IDE does not catch unhandled exceptions. For example, if i put a line with a division by zero, it just goes on. Before the system caught it and the app stopped after the error message. I have checked for any 'forgotten' Application OnException in my code, but I found none.  The settings in Compile and Linking are shown in the attached picture. What else should I check, please? 

S.jpg

Share this post


Link to post

The debugger catches them before they are handled in the application/project not after.

 

When shown by the debugger there is a checkbox to ignore that class of exception going forward.

Share this post


Link to post

Or maybe floating point exceptions are masked so there is no exception. We can't see your code, or know what version you use. 

Edited by David Heffernan

Share this post


Link to post

Are you using C++ or Delphi? Integer division or floating-point division? Can you provide an example that is not working for you? 

Edited by Remy Lebeau

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×