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.

求助,CCSv7.4编译器,函数的局部变量显示没有使用,寄存器不能看到变量的值,打不了断点,请问这是什么原因?可以怎样解决呢?



如题,如下图,变量定义、使用了却说没有使用,寄存器不能看到变量的值,断点打不了,现在连__no_operation()都打不了断点了,搞了一晚上,还是想不通什么原因。

另外,请问如何printf出浮点数的值呢?什么格式呢%f不行。求助。