I encounter a question recently.
My code will enter abnormal state and execute the wrong operation. I think it may be caused by the overflow of the stack.
I want to record the maximal usage size of the stack space during a long time. May be sereral day.
Is there any methord to do this？ And how to do it?
Thanks a lot!