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.
在单步调试的时候经常进入中断,有没有办法临时禁止中断。
Guangwei
Guangwei Ren,
可以使用右击-> run to line来调试或者设置断点调试代替单步调试,这样就不会经常进中断了。
另外,其实你只要在调试状态下,把register中的CPU register GIE改为0就可以了。你可以试试。
修改GIE是常用的手段,但是我没有找到类似IAR 的enable / disable GIE功能。