MadExcept not intergrating into applications

delphi package - automated exception handling
Post Reply
CFlem
Posts: 10
Joined: Wed Oct 05, 2022 2:55 pm

MadExcept not intergrating into applications

Post by CFlem »

Hello,

I recently installed madExcept 5.1.3 but madExcept is not caputuring any of the exceptions of my applications.
I am using the Delphi 10.4 IDE. I can see the madExcept settings options in my Project dropdown and I've enabled madExcept in the settings UI, but still not getting the madExcept dialog when exception occur in my application. Is there some way for me to troubleshoot my installation?
iconic
Site Admin
Posts: 1068
Joined: Wed Jun 08, 2005 5:08 am

Re: MadExcept not intergrating into applications

Post by iconic »

Does the same thing happen after a clean uninstall and reinstall?

--Iconic
CFlem
Posts: 10
Joined: Wed Oct 05, 2022 2:55 pm

Re: MadExcept not intergrating into applications

Post by CFlem »

yes I've uninstalled and reinstalled several times.
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Re: MadExcept not intergrating into applications

Post by madshi »

I'm sorry, I missed this thread.

Does this problem also happen with a brand new test project?

And have you tried running the compiled EXE outside of the IDE? Does it work then?
crefird
Posts: 10
Joined: Thu Jan 30, 2014 8:18 pm

Re: MadExcept not intergrating into applications

Post by crefird »

I have encountered the problem with Delphi 12. It appears to be due to the .mes file not being created automatically for a new project.

I have been able to force creation of a .mes file by disabling madExcept, saving the project, then re-enabling madEscept.

madExcept integrates correctly when the project has a .mes file.
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Re: MadExcept not intergrating into applications

Post by madshi »

For a new project in newer Delphi versions, I've noticed that sometimes you need to enable madExcept, save the project, close the project, reopen the project and then it's fine. That wasn't necessary in older Delphi versions. Not sure why this has changed.
crefird
Posts: 10
Joined: Thu Jan 30, 2014 8:18 pm

Re: MadExcept not intergrating into applications

Post by crefird »

I always have madExcept enabled.

I use a batch build process. Once I noticed the problem, I have added a check for the presence of the .mes file in the project folder.
Post Reply