This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS5.4怎么查看堆栈最大使用情况

Other Parts Discussed in Thread: MSP430F2132

CC5.4如何查看软件最大堆栈使用情况?使用的芯片为MSP430F2132
在.map中只看到了这个

  • 堆栈是在程序运行过程中动态使用的,所以你可以在debug窗口  view 栏下打开 memory browser ,然后找到stack,再根据register中的SP,就可以直观查看堆栈的使用情况了

  • 一楼说的很对,但是要查看的话,程序必须首先要暂停下来,这样才可以查看你想看的内存地址或者变量。