I recently got contacted by a user who experiences that my app crashes. I asked if he could send me the log files and I got a CIQ_LOG.BAK file from his device. Opening this in a text editor, I can see some logs related to my app. But the log is not as complete as the example on https://developer.garmin.com/connect-iq/core-topics/debugging/
In the Garmin example, there is for instance information about what file that caused the error, and what line in the file. I only have a pc-stack (see below). Can I build an app that produces more useful logs?
My entire log looks like this (two entries for my app, and one entry for spotify):
---
Error: System Error
Details: 'Failed invoking <symbol>'
Time: 2024-10-05T09:12:53Z
Part-Number: 006-B4315-00
Firmware-Version: '20.29'
Language-Code: dut
ConnectIQ-Version: 5.0.1
Store-Id: 80f06d38-3cd1-4463-b097-902ef1925533
Store-Version: 19
Filename: E7IJ5658
Appname: Hektors RefWatch
Stack:
- pc: 0x1000624a
- pc: 0x10005340
- pc: 0x100062f7
- pc: 0x100031ec
---
Error: System Error
Details: 'Failed invoking <symbol>'
Time: 2024-10-05T09:13:23Z
Part-Number: 006-B4315-00
Firmware-Version: '20.29'
Language-Code: dut
ConnectIQ-Version: 5.0.1
Store-Id: 80f06d38-3cd1-4463-b097-902ef1925533
Store-Version: 19
Filename: E7IJ5658
Appname: Hektors RefWatch
Stack:
- pc: 0x1000624a
- pc: 0x10005340
- pc: 0x100062f7
- pc: 0x100031ec
---
Error: System Error
Details: 'Failed invoking <symbol>'
Time: 2024-10-05T09:13:51Z
Part-Number: 006-B4315-00
Firmware-Version: '20.29'
Language-Code: dut
ConnectIQ-Version: 5.0.1
Store-Id: 30c6c876-ba43-4cbb-b4c7-03583a7cb66b
Store-Version: 64
Filename: E7II3701
Appname: Spotify
Stack:
- pc: 0x1000e822
- pc: 0x100091b8