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.
你好:
现在的CCS5在DEBUG 的时候,支不支持在console的窗口打印出调试信息。
例如某些IDE,在调试的时候,如果用一条指令:PRINT("test is OK");
那么在调试的时候,在观察窗口可以看到这个调试信息(输出:test is OK)。
包含头文件,#include <stdio.h>
使用下面函数打印信息,注意把Stack Size调大点,否则可能出错
fprintf(stderr, "hello, world\n");
推荐调试时候使用,这个比较消耗资源