0

I've created a C-Watchface on Cloudpebble (which works fine). 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?

Bastien Jansen
  • 8,756
  • 2
  • 35
  • 53
MadClown
  • 124
  • 7

1 Answers1

1

Debugging on Pebble is not an easy task sometimes.

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.

Usually what this means is that you are referencing a NULL pointer. 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.

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.

Read more here on common runtime errors, or read more here for gdb.

Edwin Finch
  • 913
  • 3
  • 10
  • 24