
Hitachi Embedded Workshop User Manual
249
4.19
Debugging with the Command Line Interface
Use the [Command Line] window to enter text-based commands instead of window menus and commands.
4.19.1
Opening the Command Line Window
Choose [View -> Command Line] or click the [Command Line] toolbar button
to open the [Command Line]
window.
Figure 4.78 Command Line Window
This window allows the user to control the debugging platform by sending text-based commands. A series of
predefined command lines can be called from a file and the output can be recorded in a file. The command can
be executed by pressing the Enter key after the command is input at the prompt (<) on the last line. For
information about the available commands, refer to section 5, Command Lines, and the on-line help.
If available, the window title displays the current batch and log file names separated by colons.
Pressing the Ctrl +
↑ or Ctrl + ↓ keys on the last line displays the previously executed command line.
4.19.2
Specifying a Command File
It is useful to use a command file when a series of predefined command lines need to be executed. Create a
command file by a text editor and write necessary command lines. The default extension of a command file
is .hdc.
Choose [Set Batch File...] from the pop-up menu to open the [Set Batch File] dialog box, in which the name of a
command file (*.hdc) can be specified. Clicking the [OK] button displays the specified command file name as
the window title. Clicking the [Cancel] button closes the dialog box without modifying the setting.