The stack plug-in failed to set问题

来源:互联网 发布:淘宝买家付款卖家退款 编辑:程序博客网 时间:2024/05/18 01:11

IAR调试CC2530程序,出现The stack plug-in failed to set a breakpoint on "main". The Stack window will not be able to display stack contents. (You can change this setting in the Tool>Options dialog box.)的警告,程序能烧进去,但不能调试。

网上看到如下步骤:

 1. iar->options->linker->output->format;
    选择 Debug information for c-SPY选项
 2. iar->Tools->options->stack->去掉选项“stack pointer(s) not valid until program reaches”
 问题可以解决,如果是想运行到main,则第2步不用操作。
原创粉丝点击