Hello,
My program runs on Android at user side. I need to debug the errors.
I thought that the best way to do it is to write in log file in the event LiteSQLMonitor.OnSql.
However I need to log only the errors.
How can I get only the sql texts with error in the LiteSQLMonitor.OnSql?
Thank you!
LiteSQLMonitor.OnSql
Re: LiteSQLMonitor.OnSql
You can use the LiteSQLMonitor component for the implementation of the behavior you need. For this, set the following options:
LiteSQLMonitor.TraceFlags := [tfQExecute, tfError];
When developing your application, you can define a type of the traced operation with help of the Flag: TDATraceFlag parameter of the OnSQL event.
LiteSQLMonitor.TraceFlags := [tfQExecute, tfError];
When developing your application, you can define a type of the traced operation with help of the Flag: TDATraceFlag parameter of the OnSQL event.
Re: LiteSQLMonitor.OnSql
Hi,
Thank you for the answer.
I understand and use LiteSQLMonitor frequently but I don't understand the process, you wrote :
-if the Android program has the LiteSQLMonitor compiled(it has by the way)
-and my customer starts the program on his Android phone 200 km away from me
-then how would I be able to read the errors on his phone?
Thank you!
Thank you for the answer.
I understand and use LiteSQLMonitor frequently but I don't understand the process, you wrote :
-if the Android program has the LiteSQLMonitor compiled(it has by the way)
-and my customer starts the program on his Android phone 200 km away from me
-then how would I be able to read the errors on his phone?
Thank you!
Re: LiteSQLMonitor.OnSql
The functionality you describe for retrieving any data from the mobile application is not available in our components. To resolve the issue, a separate implementation from the side of the app developer is required.