IAR在线调试printf的使用 1、在头文件里面添加以下库函数 ` #include<stdio.h> #include<stdlib.h> #include<string.h> printf("内容"); ` 2、进行在线调试(Ctrl + D) 3、点击View--