简体   繁体   English

安装Watchface后出现Cloudpebble错误

[英]Cloudpebble Error after Watchface installation

I've created a C-Watchface on Cloudpebble (which works fine). 我已经在Cloudpebble上创建了一个C表盘(工作正常)。 I'm refactoring it to make the code cleaner. 我对其进行重构以使代码更简洁。

But I'm getting this Error after the Installation: 但安装后出现此错误:

[FEHLER] ault_handling.c:78: App fault! {1030da8e-9563-4db9-a08f-b8d6d274e8dd} PC: 0x805ea85 LR: ???

Is there a way to get a Human Readable Error Message? 有没有办法获得人为可读的错误消息? Do I have to use the SDK for that? 我需要为此使用SDK吗?

Debugging on Pebble is not an easy task sometimes. 有时在Pebble上调试并非易事。

What you're experiencing is PebbleOS telling you that the crash was your app's fault, and that the OS has been a good little boy. 您正在体验的是PebbleOS,它告诉您崩溃是应用程序的错误,并且该操作系统是个好孩子。

Usually what this means is that you are referencing a NULL pointer. 通常,这意味着您正在引用NULL指针。 I'd recommend using APP_LOG throughout parts of your code to check your pointers and make sure you are not destroying anything if you're still using it. 我建议在代码的整个部分中使用APP_LOG来检查指针,并确保如果您仍在使用它,则不要破坏任何内容。

If you are able to break away from the wool sweater of CloudPebble, which keeps you warm but is always a bit itchy, you can use gdb to set breakpoints and do much more thorough debugging. 如果您能够摆脱CloudPebble的羊毛衫的束缚,这会让您感到温暖,但总是有点发痒,则可以使用gdb设置断点并进行更彻底的调试。

Read more here on common runtime errors, or read more here for gdb. 在此处阅读有关常见运行时错误的更多信息,或在此处阅读有关gdb的更多信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM