how to debug a crash in a widget?

I'm very new and have coded a small app (widget) that works perfectly fine in the simulator, but when I run it on my Forerunner 635 device, it loads and executes, but then crashes (the yellow CIQ image with the exclamation mark).

I read somewhere things about a CIQ_LOG.txt, but I have no idea how to get more information from the device to enable me to see what the problem is...

How can I debug this? I do write some logging to Sys.println...
  • When you sideload, your .prg goes in \garmin\apps. (If you use "build for device", don't check the "Build for release" box)

    The CIQ_LOG.txt will be in \garmin\apps\logs.

    If you want to use Sys.println() to help, you need to pre-create a file in \garmin\apps\logs called "<my prog name>.txt"

    If you describe what you're doing, it could be that others can point you at things to check in your code. For example, if you are getting things out of Act.info, make sure you check for a "null" value. That happens when something first starts, and does not occur in the simulator.
  • Have a look at FAQ item #6 in the New Developer FAQ. It is a sticky post in this forum.

    Travis