| |||
| Home > Debugging with Command Scripts > Creating a script that writes information to a user-defined window | |||
Many CLI commands enable you to redirect the output to user-defined windows when running RealView Debugger in GUI mode.
To create a script that writes information to a user-defined window:
Create a script, and place the VOPEN command
in your command script before any other commands that support window
IDs.
For those commands that support window IDs, enter the ID of the window where the command output is to be directed.
You can also use the fwrite predefined
macro to send output to this window.
For example:
VOPEN 100 FPRINTF 100, "message printed in user-defined window"
See also: