dormky 2 Posted January 26 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
Cristian Peța 103 Posted January 26 There is probably a try...except block where this exception occurs that will catch the exception. Share this post Link to post
dormky 2 Posted January 26 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
Cristian Peța 103 Posted January 26 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
Remy Lebeau 1394 Posted January 26 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
Lars Fosdal 1792 Posted January 28 It is possible to also capture handled exceptions, but it is costly. https://www.eurekalog.com/help/eurekalog/index.php?topic_type_eevents_televraisemeth.php Share this post Link to post