Is it possible to use trace directives or debug directives with uVision? For instance, MS Visual Studio has this capability where the developer can flush data out onto the output window.
Use View Trace (http://www.keil.com/support/man/docs/uv3/uv3_ui_debug.htm) in the Simulator. But I guess you want debug messages.
What target system are you using?