I don't think this is correct behavior. The "\n" in printf() should cause auto flush.
Could this be improved in the future ?
Can you quote the standard, where you've read this?
I don't have any standard in hand and don't remember where I got this understanding.
After a quick search of my books ... I found something related to this in
W.Richard Stevens' famous book "Advanced Programming in the UNIX Env."
Ch. 5.4 Buffering
Well, I think maybe it's not printf's standard. Be correctly, the stdout and stderr
are line buffered I/O stream. So, the question becomes:
Since C::B Debug log console will capture stdout/stderr from debuggee ...
does C::B Debug log console should also behave like a line buffered I/O stream ?
so the debuggee can have similar expectation with/without C::B.
Regards,
KC