在单步调试28069的CLA程序时,发现expression里面的数据都是一场的,如
其中的s_FilterIndex应该是小于16的数(因为s_FilterIndex做了如下限制),另外其他数据也异常,请看左上角图片‘。
__mdebugstop();
s_FilterIndex++;
if(s_FilterIndex>=16) s_FilterIndex = 0;
__mdebugstop();
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.
在单步调试28069的CLA程序时,发现expression里面的数据都是一场的,如
其中的s_FilterIndex应该是小于16的数(因为s_FilterIndex做了如下限制),另外其他数据也异常,请看左上角图片‘。
__mdebugstop();
s_FilterIndex++;
if(s_FilterIndex>=16) s_FilterIndex = 0;
__mdebugstop();
首先这个是CLA里面的程序,不是CPU里面的程序
另外单步执行下面的语句
s_FilterIndex++;
if(s_FilterIndex>=16) s_FilterIndex = 0;
从expression里面看到 s_FilterIndex没有变化,变量我点了自动刷新了。