Yeahthe message probably does not appear directly because of buffering / flushing. A fflush(stdout); after the printf() may help so that the message directly appears when the fflush(); line is stepped over.
Great, after add fflush(stdout); , the message directly appears.
By the way, if I do not want to add fflush(stdout); , is there anyway to configure in somewhere, such as in platformio.ini, or c_cpp_properties.json located at .vscode folder, etc, to let the message directly appears?
Best regards.
3a8082e126