Display Field crashed on my watch - how to find more information?

Hi,

I was testing my display field on my watch, and it displayed a Connect IQ icon with an exclamation mark. I'm assuming it crashed... How can I get information about the error?

I tested the project on the simulator, using a .FIT file from a previous race, and it worked perfectly...

Thanks,
JF
  • Hi,

    I was testing my display field on my watch, and it displayed a Connect IQ icon with an exclamation mark. I'm assuming it crashed... How can I get information about the error?

    I tested the project on the simulator, using a .FIT file from a previous race, and it worked perfectly...

    Thanks,
    JF


    There will be a CIQ_LOG.txt file located in the Garmin\Apps\Logs directory on the watch that should have some useful information in it.
  • One thing you may want to check is if you're using data from activity info, it may initially be a null,

    so you want to do something like:

    if(actInfo.elapsedDistance!=null) {
    //use the data
    }

    You won't see the "null" case in the simulator, but you can on real devices.

    from the SDK Documentation:
    "A class containing information about the current activity. The fields in this class may return null so you should null check a value before using it."