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.

IAR调试错误“Couldn't go to 'main'. ”

程序编译通过了,但是点击“download and debug”出现 Stack Warning
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 Tools->Options dialog box.)
我假设这没有问题,点击继续,在Disassembly界面:
000000    0000               ????
IFG1:
IFG1.NMIIFG:
IFG1.OFIFG:
IFG1.PORIFG:
IFG1.RSTIFG... +1 symbols not displayed:
000002    0000               ????
000004    0000               ????
000006    0000               ????
000008    0000               ????
00000A    0000               ????
00000C    0000               ????
00000E    0000               ????
000010    0000               ????
000012    0000               ????
000014    0000               ????
Debug log界面:
Tue Aug 21, 2012 09:12:35: Download complete.
Tue Aug 21, 2012 09:12:35: Loaded debugee: G:\IAR\Debug\Exe\myTest.d43
Tue Aug 21, 2012 09:12:35: Target reset
Tue Aug 21, 2012 09:12:37: Couldn't go to 'main'.
继续F5执行,出现User error: Illegal opcode found on address 0x0
我的设置如下图

请问这是我哪里设置错误了...谢谢!