在我使用CPU2 控制台输出 printf的时候能看到其他的控制台输出 但没有CIO视图 看不到输出信息
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.
你好,可以尝试增加堆栈大小,可能是 CPU2 应用程序使用了比 CPU1 更多的堆栈,并且 printf 函数没有获得足够的堆栈内存 。
另外确认一下,你的printf函数就是打印了一下“hello”这个单词,并没有通过其他模块是吗?
是的 CPU2没有多余的动作 只打印了hello 程序本身是能正常运行的
但是调试的时候会报错Trouble Removing Breakpoint with the Action "Finish Auto Run" at 0x161d4: (Error -1066 @ 0x161D4) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 9.4.0.00129)
看报错是跟断点有关啊,你的程序是添加了断点吗?
可以试一下在debug界面下,选择run - skip all breakpoint取消所有断点再测试程序运行。