01-18-2021 10:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-18-2021 10:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
I'm having issues with my clockface where it keeps restarting. Is it possible to access clockface logs on my Versa? The clockface is installed through the Fitbit gallery.
I have a test clockface that I run on my device through Fitbit Studio with the same code but it's difficult to replicate the issue - the issue seems to happen after a few hours.
I'm using an Android device.
Thanks,
Jamie
Answered! Go to the Best Answer.
Accepted Solutions
01-19-2021 03:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


01-19-2021 03:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
That's a tough one. We don't provide device logs like that. Perhaps you could add a debug text layer to the clock and log the memory usage to see if you have a leak somewhere.
import { memory } from "system";
console.log("JS memory: " + memory.js.used + "/" + memory.js.total);

01-19-2021 03:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


01-19-2021 03:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
That's a tough one. We don't provide device logs like that. Perhaps you could add a debug text layer to the clock and log the memory usage to see if you have a leak somewhere.
import { memory } from "system";
console.log("JS memory: " + memory.js.used + "/" + memory.js.total);

01-19-2021 11:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-19-2021 11:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hey Jon,
I have a feeling it's memory related, and actually had the thought of adding an element to the screen that shows memory usage after posting this - great minds!
Thanks for your reply.

