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.
那为什么,我每次仿真调试时,点了“run”以后,Variables窗口就变成空白了,里面什么都没有了? 即使再点 “暂停” ,Variables窗口的值什么都没有。 我现在想观测一个在Variables窗口里面的值,我应该怎么做才能观测得到?
那为什么,我每次仿真调试时,点了“run”以后,Variables窗口就变成空白了,里面什么都没有了? 即使再点 “暂停” ,Variables窗口的值什么都没有。 我现在想观测一个在Variables窗口里面的值,我应该怎么做才能观测得到?
ERIC:
局部变量只有当暂停时,指针跑到函数里面,才能看到那里面的局部变量呀。
如果你想观看到一个局部变量的变化,要么你在函数里面变量处设断电。要么你定义个全局变量,然后赋值,用expression观看。
在CCS-Debug - Debug configurations 里面,选择debug工程后,在Target - Auto Run and Launch中,勾选"Halt the target before any debugger access(will impact servicing of ...)"
原帖见于 e2e.ti.com/.../3261