While developing a lot of projects (In Arduino IDE) for ESP32 one common issue I am facing is termination of program execution on unhandled exceptions. There are various exception I get. For example:
stack canary watchpoint triggered (looptask),
invoke_abort, etc. I have no idea how to handle them, hence I prefer to restart the ESP manually.
Is there any way where I can restart the ESP32 automatically on all unhandled or unfortunate exceptions other than handling the exceptions ?