How can I debug the stack usage of my application? I read that I should fill the stack with an arbitrary value and then observe how it changes in time by debugging but how can I fill the stack?
You could set the memory manually when debugging. Furthermore you can watch the SP register to get a rough estimation when halting at a deep nested or local memory consuming function.
Retrieving data ...