Just came across this article and found it very useful.
https://interrupt.memfault.com/b...
In fact, the whole blog seems very useful and I shall be dipping in further. Seems it's been referenced a couple of time in other threads (yes, I did search).