Skip to end of metadata
Go to start of metadata
Page viewed 917 times

This is a rough draft - working on screenshots, and double checking the procedure. YMMV

Initial Configuration For Debug

Eclipse versions:
Eclipse IDE for C/C++ Developers (Galileo)
Eclipse Java Development Tools
Start Eclipse
Choose a workspace path of the form: workspace/OCAPRI/trunk/ri (Eclipse will create the directories).
In a bash window:

In Eclipse:
New C++ Project: Project name: RI_Platform
New Java Project: Project name: RI_Stack

In a bash window:

In Eclipse:
Refresh both projects

In bash window:

When ant finishes, the RI will have been built (outside of Eclipse).

Adding a Debug Configuration

NOTE: For reasons not understood, certain configuration variables must be set for the Eclipse process (not configured in the debug configuration).
To simplify this (and make it easier to work with various branches, etc.) there is a bash script (OCAPRI/trunk/ri/ that sets up the environment
and starts eclipse. For it to work eclipse either has to be on your PATH, or ECLIPSE_HOME has to be set appropriately.
In Eclipse:
Run->Debug Configurations
Right click on C/C++ application, choose New.

It is somewhat easier to show screenshots of the configuration tabs:

You should be able to launch a debug session.

  • No labels