Fflush(stdout)

0 views
Skip to first unread message

Faith Lienhard

unread,
Aug 5, 2024, 5:42:27 AM8/5/24
to ontonmuner
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
Reply all
Reply to author
Forward
0 new messages