Complete

Simulator not changing setting, but keeps new settings as tmp file in TEMP folder

I am facing following behavior in the sim, any idea what can be causing this please ?

1.) Watchface starts OK in sim-> set files is created using default values from properties (Memory reports 74kB Memory peak and 380 objects peaks)
2.) Modifying settings using Connect IQ - App Settings editor in Eclipse
3.) Clicking Send Settings
4.) After some time new settings processing finishes, NO changes are reflected on watchface (Simulator reports Peak Memory 82.6kB and 569 peak objects)

In the file system TEMP directory where sim is pointed i can see new file  "temp_appsettings<multiple_random_digits>.tmp" has been created on same level as GARMIN folder, but set file has not been replaced with new data.
In rare occurrence new set file is created but has 0bytes size. Working SET file has 3.98kB

Parents
  • I am officially desperate. After many iterations of testing and code changes i made full circle. Every time background process triggers SET file is reset to default value. It happens on the simulator and real watch as well. If background is not triggered every settings change is stable. Based on simulator output (if correct) i am 28kB far from memory limit.  Test code does not have setValue used. Would someone, perhaps from Garmin, be willing to take a look and help to track it down please ? I am Ok to share all files.
Comment
  • I am officially desperate. After many iterations of testing and code changes i made full circle. Every time background process triggers SET file is reset to default value. It happens on the simulator and real watch as well. If background is not triggered every settings change is stable. Based on simulator output (if correct) i am 28kB far from memory limit.  Test code does not have setValue used. Would someone, perhaps from Garmin, be willing to take a look and help to track it down please ? I am Ok to share all files.
Children
No Data