
57
3.9 Using an External Debugger
The High-performance Embedded Workshop can launch an external debugger tool. If you want to use another
debugger then you must add it to the Tools menu (as described in chapter 6, “Customizing the Environment”.
The “Debugger” tab of the “Customize” dialog (figure 3.22) is where the HDI-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 3.22: Customize Dialog Debugger Tab
When an external debugger is used, check ‘Use external debugger’ and then set the following items. 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.
Komentáře k této Příručce