
Hitachi Embedded Workshop User Manual
108
6.7
Using an External Debugger
The Hitachi Embedded Workshop can launch an external debugger tool. If you want to use another debugger
then you must add it to the “Tools” menu.
The “Debugger” tab of the “Customize” dialog (figure 6.13) is where the Hitachi Debugging Interface related
information is configured. You may wish to use an older version of the debugger if certain targets are not
currently supported in the new environment. Invoke it by selecting [Tools->Customize…] and then selecting
the “Debugger” tab.
Figure 6.13: Customize Dialog Debugger Tab
To use an external debugger, check the “Use external debugger” checkbox and specify the items described below.
There are three items of information, which need to be specified. Firstly, the location of the HDI executable must
be specified. This must be version 4.0 or greater otherwise the behavior is not guaranteed. The second item of
data is the session file. This tells HDI which session to load when it is launched. Finally, the location of the
download module is required. This allows the HEW to automatically switch to HDI when the download module
changes after a build. Click the “Launch External Debugger” toolbar button to invoke HDI with the specified
session file.
After a build, if the download module has been updated, the HEW will switch back to HDI to enable immediate
debugging. Whilst using HDI, double clicking in any source window will switch back to the HEW with the
source file open at the line which was double clicked.