IAR调试出现the stack plug-in failed to set a breakpoint on "main"

来源:互联网 发布:华云数据集团招聘 编辑:程序博客网 时间:2024/05/17 04:02

解决办法

需要进行如下配置:
1.Tools -> options -> stack -> 去掉选项”stack pointer not valid until program reaches”


2.工程文件右键(箭头指示位置) -> options -> linker -> output -> format
选择Debug information for c-SPY选项


参考:
csdn论坛

0 0