Its just that quite often when people say “my project has been working fine for weeks/months and now it’s suddenly stopped” it sometimes turns out to be a hardware issue. Breadboards are okay for lashing-up a project and proving the concept, but not great as long term platforms.
Proof of concept breadboard is something to consider. But in my experience, this is the crash due to exception, possibly caused by
Dangling / stray pointers
Access (write) out-of-bound address of arrays / structs, buffer-overflow
Hardware issue (bad memory, flash, etc)
Normally, 1. is time-consuming and will cause a lot of headache, as sometimes it’s extremely difficult to catch or never caught. It’s not easy to duplicate the problem. In rare cases, the issue is (hopefully not) out of your control, such as in libraries, compiler, etc.
So the code has been working perfect for a long time can’t guarantee anything. Some good examples are Windows BSOD.
The Exception Decoder can help eliminate / locate the culprit by using trial-and-error debugging steps, etc.
Good luck and experience ,
I have tried 4 different complicated devices (with 8 tabs) in 1 project without any issue so far, all have been working reliably for a long time.
It’s possible @PeteKnight knows the max number.
I still don’t think it has anything to do with your crash (if your code is OK). The worst thing, I guess, it can do is crashing your APP / server.
Struggling to put that tool into my arduino ide. My sketch folder is kept on my dropbox. The actual arduino programme not quite sure. Tried several locations so far but no success yet.