现象: 在进行STM32F0开发的时候出现了,调试代码,添加变量Watch时,显示not in scope。
not in scope
处理方式: 因为代码开了优化的处理,把优化改到Level0,就可以解决问题。