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.
用的是C2000的板子,TMS320f28379D芯片, 调试线程时候想在每个线程里面使用printf()来观测线程切换情况,printf函数编译通过,但是debug时候console控制台没有输出,怎么解决?或者有其他方式可以观测线程之间的切换?
能否给出您的代码?
printf is line-buffered, so the output doesn't appear until either a \n or an explicit fflush(stdout)
另外有没有将level改成full试试
full: Supports all format specifiers
另外建议参考下