Jump to content
dormky

Why are access violations not shown in popups with EurekaLog ?

Recommended Posts

When the program gets an access violation error, the debugger shows it fine. But when running the exe (the debug exe), it is not shown. I'm using EurekaLog and I suppose there's a setting causing this, but I can't find it.

I'm using Delphi 10.3. Thanks !

Share this post


Link to post
1 minute ago, Cristian Peța said:

There is probably a try...except block where this exception occurs that will catch the exception.

No there isn't, I had to put one with a SHowMessage() in order to see it. The code is in a FormShow call.

Share this post


Link to post

Then the exception occurs deeper and you catch it with the try...except block. I don't see your code so I'm guessing...

Share this post


Link to post
5 hours ago, dormky said:

The code is in a FormShow call.

Then there IS a try..except involved, but its inside the VCL framework wrapping the call to the event handler (and most other events, for that matter).  That is why, for example, if you raise an exception inside an OnClick event and don't catch it yourself, you will still see a default popup message appear.  There is a default try..except inside the framework for handling UI errors.

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

×