Remote debug in 6.2.1

I’m using a windows hosted momemtics session to debug on a remote target
(x86). As I step through the code using F6 and step over a print, in 6.2.0 a
message is output on the console. in 6.2.1 all the messages are printed on
the console when the program ends!

This doesn’t make remote debuging very easy. Any ideas, thnaks in advance.

Steve <stevec@nav-tech.com> wrote:

I’m using a windows hosted momemtics session to debug on a remote target
(x86). As I step through the code using F6 and step over a print, in 6.2.0 a
message is output on the console. in 6.2.1 all the messages are printed on
the console when the program ends!

This doesn’t make remote debuging very easy. Any ideas, thnaks in advance.

sigh
stdio is being too smart, and qconn is being dumb.

Workaround:
Put a
setvbuf(stdout, NULL, _IOLBF, 0 );
near the start of main() in your program. (Before any printf calls.)

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.