|
|
TotalView Debugger Eclipse CDT Plugin
The TotalView Debugger (TVD) Eclipse plugin lets you launch TVD in a separate
window from within Eclipse. Here is the installation procedure:
- Install Eclipse 3.1 or greater.
- Install the CDT 3.0 or greater plugin within Eclipse. Verify that
the CDT is working correctly.
- Download the TVD Eclipse CDT plugin by going to http://www.totalviewtech.com/download.htm?Product=Eclipse.
- Change directory into the top level directory of Eclipse. This directory
is usually named eclipse.
Under this directory are a number of other directories, including a
plugins directory.
- Unzip the TotalViewCDTPlugin_<version>.zip file.
Unziping this file creates two com.etnus.* directories within
the plugins directory.
- Start Eclipse.
When you set up a new C/C++ debugging session, you can
select which C/C++ debugger you wish to use.
Verify that a TotalView Debugger command appears in the
pulldown menu.
- After you select TotalView, Eclipse displays an
Options tab. Enter the full pathname to the totalview
startup script or executable.
You can also use the Browse button to locate the file. By
default the option is initialized to /usr/totalview/bin/totalview which is the default installation
location.
The Options tab also contains a Stop in Main option. By
default, this option is checked. This indicates that TVD should
stop at main() when you start the debugging session. If this
option isn't selected, your program immediately begins executing and
you will not have an opportunity to set breakpoints.
Note: Any breakpoints you create in the Eclipse debugger are
not transferred to TVD. However, TVD does remember all
breakpoints that you set within TVD unless you tell it
otherwise.
You can download the TVD Eclipse plugin by going to
http://www.totalviewtech.com/Download/eclipse.php.
|