ConnectIQ 1 vs ConnectIQ 2

Former Member
Former Member
Hello,

I wrote a running watch application in MonkeyC for a Forerunner 935 (connectIQ2) watch. The application has 2 views and it talks to a phone application through Bluetooth.

Now this application works properly on the Forerunner 935, both simulator and physical device. Next step was to make it also for other device and virtually, using the simulator, the application works fine for all the other Garmin watch models but when I tried it on Forerunner 920 it crashes a lot.

The Bluetooth connection is working but it seems to be a problem when i switch/change the views of the application but i can't debug on a physical device like I do on the simulator and the CIQ_LOG.txt says:
Exception
DETAILS:
STORE_ID: 00000000000000000000000000000000
CALLSTACK:

ERROR: System Error
DETAILS:
STORE_ID: 00000000000000000000000000000000
CALLSTACK:
@PC = 0x00000000
@PC = 0x00000000

ERROR: Unhandled Exception
DETAILS:
STORE_ID: 00000000000000000000000000000000
CALLSTACK:

Thank you for your time and understanding!

Alex
  • You want the Connect IQ subforum, not the Garmin Connect one.
  • When you are sideloading to the 920, are you using the "Build for device" wizard? If so, make sure to uncheck "build release version of project", so you get a build with debug symbols.

    You'll probably see more info in ciq_log.txt

    You can also put Sys.println() calls in your code, and them create a file called <mynappname>.txt in the same directory as ciq_log.txt and your println's will be saved there.
  • Former Member
    Former Member
    My mistake, i meant actually Forerunner 230, and i was using "Build for device" wizard.
    I now unchecked the "build release version of project".
    The exception is "Unhandled Exception". I don't know what it can mean...
  • Former Member
    Former Member
    The exception is "Unhandled Exception". I don't know what it can mean...

    Is there more to the log, or does it just say Unhandled Exception with an empty callstack? If it is an empty callstack, would you be willing to post some of what you have written? Someone on the forums might be able to point out a potential cause.

  • Former Member
    Former Member
    Hey guys,

    Problem solved!
    Basically i was using at some point a "static class" and that was the reason it didn't work on the actual device.
    It was weird the fact that it showed no error at all on the simulator at all.
    So "static class" is works with Forerunner 935 apparently but not with Forerunner 230.
    Thank you for your time!

    Kind regards,