-
|
I keep running into a particular runtime error as I build a custom Pebble watchface with Alloy: I'm a JavaScript developer with only a little experience programming for embedded systems, so this message isn't really telling me anything about what the issue is. I tracked down the code that is throwing this error: dd56869#diff-781af7f5cc76aa834c24eba4ffa939b2a43ddb33999e73267d2e7653f15f8a01R78-R81 The commit message from @phoddie says "throw exception if fxMapArchive fails; can much use smaller buffer (at least for now...)". I'm assuming I'm running up against the "smaller buffer" but I don't know what that means in practical JavaScript terms or how to properly write code with this in mind. Does anyone have any guidance? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
Thank you for the report. I haven't seen an error in
If you are able to share a sample project that triggers the problem, we could try to sort out what's going on. If sharing your source is a concern, we can probably make do with just the resource data generated, though it would be more complicated here. Let me know and I can explain how to extract that from your build results. |
Beta Was this translation helpful? Give feedback.
Preload is a very powerful technique. Unfortunately, it is not available in mods. Alloy apps are mods.
Good to know. That is more-or-less what I'm doing as well, though I'm building the latest Pebble OS sources.
xsbug is not yet supported. It is on the agenda for the near future though. Having a real debugger will make development much…