Stack Usage

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

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?

   

Necdet

0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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.

   

 

   

Bob

0 Likes