Setting up your development environment
This section will describe how to set up a basic Eclipse development environment
to develop a plugin against the Carbide.c++ development environment.
Download the Carbide.c++ Development Kit (CDK)
Carbide.c++ is developed against the Eclipse 3.4 release build which includes the Java Development Tools (JDT) and Plug-in Development Environment (PDE). You will need these items as well as the Carbide.c++/CDT source code to develop Eclipse/Carbide.c++ plug-ins. If you want to install the CDK you will need to run the Software Updates under the Help menu to update your installation to include the CDK.
For more information on running the Software Updater please see the page Updating Carbide.c++.
Importing source projects
Once you have your Carbide environment updated to include the CDK, you can create new Eclipse plug-in projects and debug the Carbide.c++ sources. How to create eclipse plug-ins is beyond the scope of this demonstration. If you want to debug any of the Carbide.c++ or Ecilpse platform source follow these steps to verify your CDK isntallation:
- Switch to the Plug-in Development perspective.
- Select the Plug-ins view.
- Right-click on the plug-in you want to import and select Import As > Binary Project with Linked Content. For example, the com.nokia.carbide.cpp.leavescan plug-in as shown below.
- Now you can return to the Package Explorer and locate the .source reference in the project. In this example that would be the com.nokia.carbide.cpp.leavescan.source file.
- Right-click the .source file (com.nokia.carbide.cpp.leavescan.source) and select Import.

- In the Select page, select General > Archive File, then click Next.

- Navigate to the com.nokia.carbide.cpp.leavescan.source plug-in file, then click Open. Note that the source plug-ins are located in the same directory where you imported the Carbide Development Kit. By default, this is the /plugins directory of the Carbide installation.
- In the Archive file page, select click Finish.

- Now you can return to the Package Explorer view and navigate the source files for the imported plug-in. It should look like a normal plug-in project:

You can now create a launch configuration and debug Carbide.