Debug Logging

GPS-Connector app documentation and manual.
Antworten
Mazuch
Administrator
Beiträge: 32
Registriert: Mi 11. Nov 2020, 17:54
Kontaktdaten:

Debug Logging

Beitrag von Mazuch »

In order to do debug analysis in the GPS-Connector code you can create a debug log file.

To do this you first have to switch on the Create debug log file option in the settings.
Now go back to the app main screen and force the error state.
After you got the error please go back to the settings and share the logfile. (Share debug log file)
You can send the debug log file by mail to dev[at]pilablu.de.

gps_connector_debug_en.png
gps_connector_debug_en.png (42.2 KiB) 25473 mal betrachtet

If you have problems with your GNSS input source, it's a good idea to do a input source switch to see relevant debug logs.
On GNSS input change you see a lot of debug log entries, like USB vendor, mocking state, etc.
  • switch the active GNSS input to simulation in settings
  • back to the app main screen and wait a few seconds
  • now set the GNSS input source which you want to debug, like USB or bluetooth
  • back to the main screen and wait again a few seconds
  • important debug messages are now saved to the log and you can share it by mail
:!: After you finished the debugging you should switch off the create debug log,
otherwise on every app startup new log messages are appended to the existing log file.
There is no code so big, twisted, or complex that maintenance can't make it worse. (Gerald M. Weinberg)
Antworten