Support

Home | Support | Eclipse CDT Plugin Documentation

TotalView Eclipse CDT Plugin

This documents the use of an experimental (unsupported) eclipse plugin previously provided on the TotalView website. It has been withdrawn from general availability but customers using it can continue to do so. Please contact info@totalviewtech.com with any questions or comments.

The TotalView Eclipse plugin lets you launch TotalView in a separate window from within Eclipse. Here is the installation procedure:

  1. Install Eclipse 3.2.2.
     
  2. Install the CDT 3.0 or greater plugin within Eclipse. Verify that the CDT is working correctly.
     
  3. Download the TotalView Eclipse CDT plugin.
  4. 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.

  5. Unzip the TotalViewCDTPlugin_<version>.zip file.

    Unziping this file creates two com.etnus.* directories within the plugins directory.

  6. 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.

  7. 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 TotalView 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 TotalView. However, TotalView does remember all breakpoints that you set within TotalView unless you tell it otherwise.

This documents the use of an experimental (unsupported) eclipse plugin previously provided on the TotalView website. It has been withdrawn from general availability but customers using it can continue to do so. Please contact info@totalviewtech.com with any questions or comments.