I have an application that measures every second (I run it in demo mode and generate arbitrary data, so the problem is not related to reading from devices connected to the serial port).
After 5-6 minutes it hangs.
I added
try
// entire body of procedure/function goes here
except
on E: Exception do
begin
MessageDlg('Internal coding error in <function name>()',
mtError, [mbOK], 0);
end;
end;
for each individual function (and Application.Run () in the project file), but I do not see any message dialogs. Any idea how I can verify this?
Update: I believe that the problem with the resource is either random access memory or the MySql database , but they work fine, and there are only 5 floats and timestamps that are saved during each measurement, so both seem unlikely after such a short time.
: ( +1 ), , , ( ), IDE Run/Pause, , .
.