Search found 8 matches

by david_navigator
Fri Feb 12, 2021 4:59 pm
Forum: madExcept
Topic: Displaying first exception message
Replies: 2
Views: 213

Re: Displaying first exception message

Maybe it would make sense to add a try..except block to catch the "The operation could not be completed in the allotted time" exception and handle it more nicely? and that has made me realise what the error actually is. There is an exception handler and it's in that exception handler that...
by david_navigator
Thu Feb 04, 2021 10:00 am
Forum: madExcept
Topic: Displaying first exception message
Replies: 2
Views: 213

Displaying first exception message

Using MadExcept V5 + Delphi Sydney. A user just sent me the following Madexcept report, asking how could we have created a situation where a database wasn't initialised correctly. Looking at the report I can see that although the TDataset is reporting Dataset not in edit or insert mode , really the ...
by david_navigator
Fri Feb 14, 2020 9:59 am
Forum: madExcept
Topic: Hiding Leaks
Replies: 1
Views: 2165

Hiding Leaks

I'm trying to hide a memory leak in TnxMessageRelayClient I have this in my code initialization madexcept.hideleak(TnxMessageRelayClient,1000); madexcept.hideleak(TnxBaseSession,1000); madexcept.ReportLeaks := True; but the memory leak is still being reported memory main thread ($fcc): 671a6c2c madE...
by david_navigator
Thu Feb 13, 2020 5:23 pm
Forum: madExcept
Topic: Latest Madexcept32.dll Version
Replies: 2
Views: 2090

Re: Latest Madexcept32.dll Version

Brilliant. Thanks
by david_navigator
Thu Feb 13, 2020 4:27 pm
Forum: madExcept
Topic: Latest Madexcept32.dll Version
Replies: 2
Views: 2090

Latest Madexcept32.dll Version

Just noticed that my MadExcept32.dll version is 4.0.6 from 2018, even though everything else in Madexcept reports version 5 from 2019.
Has something gone wrong with my install or is this the latest dll version ?
by david_navigator
Thu Mar 01, 2018 1:10 pm
Forum: madExcept
Topic: Windows Service
Replies: 5
Views: 5002

Re: Windows Service

After lots of faffing about, trying this approach and that code etc etc, I suddenly realised that I couldn't see the woods for the trees as there was a try...except around the whole service engine code of mine. Removed that and now working as expected. :oops:
by david_navigator
Tue Feb 27, 2018 5:54 pm
Forum: madExcept
Topic: Windows Service
Replies: 5
Views: 5002

Re: Windows Service

It's a non-interactive service and the dialogs do match your examples.
Is there somewhere I could insert some codesite messages to work out if the logs simply aren't being written to or whether something is stopping your exception hook from working at all ?

regards

David
by david_navigator
Thu Feb 22, 2018 8:53 pm
Forum: madExcept
Topic: Windows Service
Replies: 5
Views: 5002

Windows Service

I'm trying to get Madexcept to log exceptions in my service and I'm not getting any results. I'm configuring the settings thus MESettings.BugReportFile := Get_My_application_data_path + 'Email_service_madexcept.log'; MESettings.AutoSave := true; MESettings.AutoContinue := true; and in my code I have...