If you've volunteered to help capture debug logs for a Lignite watchface, here's how to do so.
Before you install any debug pbw file given to you by the developer of Lignite (Edwin), please follow these steps to make sure that logs are working properly.
1. Set up the Pebble SDK for logging
If you don't already have it, please get the Pebble command line tool going on your computer.
You can find official install & setup instructions on Pebble's site:
https://developer.repebble.com/sdk/
2. Test that developer logs are working
First, in your Pebble app's settings, turn on LAN connection:
Then go to your devices, and turn on the "Dev Connection" for your watch:
You should now see an IPv4 address like above.
- (If you are on iOS and the IP is not visible, you can also find this IP address by going to iOS Settings -> WiFi -> [Your current network] -> IP address will be in that page)
Then...
-
In your terminal, type
pebble logs --phone [your_ip], then close and open any watchface (by going to your app menu and then back to the face) -
You should now see logs coming in and out of your Pebble as you interact with it.
- For example, closing and opening a watchface will show something like this:
-
[20:44:13] ocess_manager.c:472> Heap Usage for App <Watchface_Name>: Total Size <32864B> Used <17036B> Still allocated <1318...
-
- For example, closing and opening a watchface will show something like this:
If these logs are not displaying after following these instructions, something has went wrong and you'll need to address that issue before you install our debug .pbw. You can message Edwin or you can ask for help on #app-dev channel on the Discord.
3. Install the debug .pbw
Now that logs are working, it's time to debug!
- Get logs going before you install the debug build
- Install the debug .pbw provided by Edwin through your Pebble app
- Interact with your watchface in the way which reproduces your bug and send them over to Edwin (.txt file is preferred)
4. Wait for developer magic!
Edwin will now do his darnedest to reproduce your bug using the logs you've provided.
You're amazing for being willing to go this far to help us debug. Thank you so much! ❤️
Comments
0 comments
Article is closed for comments.