15.8. 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:

  1. Create a script, and place the VOPEN command in your command script before any other commands that support window IDs.

  2. 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:

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111