I am using FireDac Monitor which stops after a short while with a message "EOF found".
I am using FireDac Monitor which stops after a short while with a message "EOF found".
Has anyone encountered that before and maybe solved that problem?
Has anyone encountered that before and maybe solved that problem?
I've briefly tried to get it to work myself, but never actually got it working at all. Never did have time to delve deep. Any pointers, tricks and tips would be very welcome.
ReplyDeleteThe principle is simple: You just need to create a TFDMoniRemoteClientLink and set its Tracing property to True. Then, start FDMonitor.exe before starting your app.
ReplyDeleteWhich is basically what I've tried. Never got anything after setting Tracing to true, which yields a single line in the Monitor app.
ReplyDelete*** Client [P: \.exe] activated
I can run queries and stored procedures - but nothing shows up in the monitor.
Can it be related to instantiating everything at runtime and not having the various FireDAC components available in design mode?
ReplyDeleteDoh... I just found out that I had completely misread the documentation on Monitoring.
ReplyDeleteDoc says "Add the MonitorBy=Xxx connection definition parameter. "
So I did
FConnection.Params.Values['MonitoryBy'] := 'mbRemote';
While you should do
FConnection.Params.MonitorBy := mbRemote;
which I think is equal to
FConnection.Params.Values['MonitoryBy'] := 'Remote';