Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Eclipse Kepler in DTS

October 15, 2013
Roland Grunberg
Related topics:
Developer Tools
Related products:
Developer Tools

Share:

    One of the new features for the Developer Toolset (DTS) 2.0 is Eclipse 4.3.0 (Kepler). Aside from various performance improvements to the base platform since Eclipse 4.2 (Juno) a lot of other plugins are being shipped to make life easier for development. The C/C++ Developer Tooling (CDT) is a plugin used to develop, build, run, and debug C/C++ applications in Eclipse. It has support for various toolchains, Makefile/Autotools projects, static analysis, and easy navigation of a code-base thanks to a powerful indexer. There's also support for EGit (Git Integration), Mylyn (Task Management) , and a variety of different profiling tools provided by the Linux Tools Project, such as an environment for developing SystemTap scripts.

    Assuming Eclipse Kepler is installed from DTS 2.0, it will be available from the "Applications" menu, under the "Programming" category as "DTS Eclipse". It can also be started from a shell with the command :

    scl enable devtoolset-2 eclipse

    DTS_Kepler

    In addition to shipping the CDT there's a variety of Eclipse plugins provided that allow us to profile our C/C++ applications and look for potential issues. Integrations exist for OProfile, Perf, Valgrind, Gprof and Gcov. A set of categories (Coverage, Memory, Timing) have also been created to allow for grouping profiling tools, and defining a sane default to improve the user experience. More advanced users can always use a specific tool by its name, or configure the categories as they wish.

    DTS_Kepler_Profiling_Tools_Menu

    In this particular case I've created a launch configuration that uses the "Helgrind" plugin to profile potential synchronization errors arising from the use of the POSIX pthreads library.

    DTS_Kepler_Profiling_Tools_Config

    Our application simply reads some files in parallel and outputs some data. When run under the Helgrind plugin, the Valgrind view shows us some problems as well as highlighting the relevant lines of code.

    It's clear to see that a value is being accessed/modified from various threads without the use of any locking. This can produce some non-deterministic behavior.

    DTS_Kepler_Helgrind_Result

    For Git integration one can use the EGit plugin for Eclipse.

    DTS_Kepler_Import_Git

    Simply selecting "Projects from Git" from the Project Import menu and specify the repository location (local, or remote).

    DTS_Kepler_Git_Config

    Once cloning has completed, one can configure the project as needed. Since this is not an Eclipse project there is an additional step needed to define it as a C++ GNU Autotools project. To create an existing project we simply provide its location (hence the warning) and specify a GNU Autotools Empty Project to be used as the template.

    DTS_Kepler_Project_Config

    We have now successfully imported a project and configured it as C++ GNU Autotools Project with Git integration.

    DTS_Kepler_Egit_Options

    From here, the Autotools functionality makes it pretty simple to configure, build, and run the project.

    DTS_Kepler_Gimp_Built

    Lastly we can profile the project and review the results. In this case the Perf Plugin is being used to do so.

    DTS_Kepler_Gimp_Perf

    With these different integrations, it becomes easier to manage all aspects of a project.

    Recent Posts

    • How to build a Model-as-a-Service platform

    • How Quarkus works with OpenTelemetry on OpenShift

    • Our top 10 articles of 2025 (so far)

    • The benefits of auto-merging GitHub and GitLab repositories

    • Supercharging AI isolation: microVMs with RamaLama & libkrun

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue