Producing a stack trace or call list ???

I am using "CrashTracking" (ApplicationMonitor.cpp) to show where I hits a very rare WD timeout (once a week at worst) but it is showing it to be within the stream or string classes - I suspect it may be an unterminated string of some sort.

What I really need is a way of saving the call sequence.

Has anyone come across a way to do this??

I seem to remember that VS does this but (I suspect by modding the generated code) I don't really want to tie up a system for such a rare issue.


You could post your code so many eyes can look at it... Microcontrollers with a few kB of RAM don't have the
resources to run symbollic debuggers...