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.)

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/17 18:06:08
The stack plug-in failed to set a breakpoint on Options dialog box.)" />
xՐN@_eĪ]$$HUZtSuAEJ*'`X#@J&Q -I 6A~a꙱WBc]X͝|瞉BrQB.HU򙐌т(+< $(ĬJd#ؒ(㱰/Kd2'p( DG) )E*{~`]º~4G(-b^q&eeA$!02pDdPR*_{ឬnLO֜NPֳQ7\H :$(2JC^WzHX %Q"+R*{-!P:x3^T ]aZtM^4^vm< G'vy2N{Cv`v1:t Q6wɩkj܈vyvT tnN/wSV]cght݂%lq/c  tTL`1 O5!۫&`򳞷wXc7p< WS0C&]d{WԨ1hF?nF+ȖO{E/Pde2 hϢ[>`k*m`FVzG^ޘ~3 Xn

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.)
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.)

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选项

你用的是什么版本的?我看了4.12和5.11B都没有128A 另外STACK又分CSTACK和RSTACK,如果设为0,系统根本不可能工作如果像你说的设为0才能编译不报错,

意思是:断点设到了无效的代码空间。显然,这是IAR的判断。有时候不一定准确,如SCB_VTOR = 0x5000;这如果是程序员有意这样安排。而IAR又认为风险很大,IAR就会干预。