While working on my version of the firmware, certain kinds of bugs will just cause my controller to silently reboot, with no indication in the serial monitor. Of course, I’ve tried adding lots of println to figure out what’s going on before reboot, but it’s tricky and takes some guesswork to figure out what happened.
Is there any way to get more information when the controller crashes, something like a stack trace or whatever? anything I can uncomment in the code or enable in the IDE to provide more info on a crash?