OpenSprinkler Forums OpenSprinkler Unified Firmware Easy debug setup? Reply To: Easy debug setup?



Thanks for the quick reply, Ray!

That was helpful in two ways:
1. I can see the debug prints

2. Was also able to launch that executable via “sudo gdbserver localhost:8899 ./OpenSprinkler” and attach via a network GDB connection.
Note for anyone else doing this you have to add a “-g” flag to the g++ command in ./ (or run it manually) to generate the symbol stubs.
Obviously a maneuver for debugging.

I did figure out why flow-sensor related sensor1 changes weren’t getting logged to MQTT. I’ll follow up to my comment in the 2.1.9(4) release thread.