Hello
It is not possible to redirect stdout (output from printf) from the application to the command window.
You should be able to redirect stdout to any SCI or LCD device.
Unfortunately, as far as I can see there is no such peripheral available on the HCS08QG8.
Only solution would be to run a command file, which periodically prints whatever you are looking for in the command window.
Alternatively you can set a breakpoint and associate it with a command file, which will perform the printf each time the corresponding instruction is reached.
When defining such a breakpoint you can also tell you do not want to stop the application when the BP is reached.
This way when the instruction is reached, the application will shortly pause, debugger will execute the command file and application will continue execution.
The application is not running in real time any more, but this could give you some indication on what is going on while the application is running.
Finally you can also use either the data window or the visualization tool window, put them in periodical refresh mode and look at the way the variable is changing while the application is running. Here again the application will not run in real time any more, but you should be able to look at the way the variable is changing while application is running.
FAQ-27481 on Freescale web page explains how to look at a variable value in the debugger.
I hope this helps.
CrasyCat