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.

ccs6,debug模式下,用expressions观测变量,普通全局变量可看到,但在文件开头用static定义的全局静态变量却看不到,会显示“unknown”,求解决方法.

ccs6,debug模式下,用expressions观测变量,static定义的全局静态变量看不到,会显示“unknown”,我这里static定义的变量也是放在文件的最开头了,属于全局静态变量,不是局部变量,所以我想知道全局静态变量怎样在线调试的时候观测。