Error Message when *.mes file is read-only

delphi package - automated exception handling
Post Reply
santiago
Posts: 73
Joined: Thu May 05, 2016 6:01 pm

Error Message when *.mes file is read-only

Post by santiago »

Hello madschi,

we keep our *.MES files under source control (Team Foundation Server) -> they need to be explicitly checked out.
Until they are checked out, they are read-only.

Inside the Delphi IDE I activated 'report resource leaks' for a project using the madExcept GUI.
When I hit OK no error message was displayed.

It took me a while to figure out why no Leak Reports were being generated.

The problem was that the MES file was read only. So changing the settings in the GUI did not actually modify the file and therefore had no effect.
After I checked out the file and changed the settings again, the reports finally appeared. :-)

So I guess it would be a good idea to display an error message if the MES file could not be saved?

Thanks!
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Error Message when *.mes file is read-only

Post by madshi »

Yes, you're right, thanks for letting me know.
Post Reply