the eclipse c/c++ ide projects and ecosystem

18
The Eclipse C/C++ IDE Projects and Ecosystem EclipseCon 2011 Doug Schaefer, Wind River Systems CDT Project Lead

Upload: others

Post on 11-Feb-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

The Eclipse C/C++ IDE Projects and Ecosystem EclipseCon 2011

Doug Schaefer, Wind River Systems CDT Project Lead

Where did the CDT come from?

Started as a fork of JDT but for C/C++

QNX contributed initial code and started community in 2002

Focus on enabling integration with external tools

– Compilers and debuggers

JDT set the bar for functionality and usability

Java Native debugging the holy grail

| © 2011 Wind River. 2

What is CDT? - C and C++ Projects

| © 2011 Wind River. Licensed under the Eclipse Public LIcense. 3

What is CDT? Editor

Keyword highlighting, bracket matching

Outline View, Content assist

| © 2011 Wind River. Licensed under the Eclipse Public LIcense. 4

What is CDT? Source Navigation

Open Declaration, C/C++ Search

Call hierarchy, Type Hierarchy, Includes browser

| © 2011 Wind River. Licensed under the Eclipse Public LIcense. 5

What is CDT? Build

| © 2011 Wind River. Licensed under the Eclipse Public LIcense. 6

What is CDT? Debug

| © 2011 Wind River. Licensed under the Eclipse Public LIcense. 7

GNU Tools as Exemplary Integration

Available for almost all platforms

Show the proper way to do tool integrations

Many ecosystem companies leverage this integration

– Especially in embedded world

As CDT evolved, so did GNU tools

– Now a world class combination with gcc and gdb

– A first class IDE for Linux

– But can also be used with Windows (MinGW or Cygwin)

– Apple (more on that later)

| © 2010 Wind River. All Rights Reserved. 8

Eclipse C/C++ IDE

| © 2011 Wind River. Licensed under the Eclipse Public LIcense. 9

Eclipse C/C++ IDE

C/C++ IDE for Linux Developers also available

– Adds autoconf, Linux profiling tools

Indigo additions for C/C++ IDE Package

– Microsoft Visual C++ toolchain support

– Embedded development support

including RSE, TCF, cross gnu tools integration

| © 2010 Wind River. All Rights Reserved. 10

C/C++ Family at Eclipse

Linux Tools Project

– Tools for Linux Developers

Target Communication Framework

– Protocol and Service Framework for Targets

Target Management

– Terminal View, Remote Systems Explorer

Parallel Tools Project

– Tools for High Performance computing

Sequoyah Tools for Mobile Project

– Native tools for mobile platforms

| © 2010 Wind River. All Rights Reserved. 11

The Greater Ecosystem

Embedded Platform Vendors

– Wind River Workbench

– QNX Momentics

– Texas Instruments Code Composer

– Nokia Carbide

– Montavista Dev Rocket

– and many, many more

Open Source Platforms

– Linux Distros

– Yocto Embedded Linux

– Android

| © 2010 Wind River. All Rights Reserved. 12

And the Ecosystem keeps Growing!

| © 2011 Wind River. Licensed under the Eclipse Public LIcense. 13

The Rise of the User

User contributions to CDT on the rise

– Ericsson

– Google

– Broadcom

– A handful of small independents

Focused mainly on improving quality

– Make sure CDT works for their users

Hugely important to the Eclipse ecosystem

| © 2010 Wind River. All Rights Reserved. 14

What’s happening in CDT today?

Codan static analysis

Multi-core Debug

– Pin and clone views to debug contexts

– Debug element grouping

– Gdb multi-context support

General quality improvements

– Scanner Discovery clean-up

– Build scalability

– Platform build configurations

– Refactoring improvements

| © 2010 Wind River. All Rights Reserved. 15

What cool things could we do?

Java native debugging still holy grail

– Should be important for Android, Eclipse

Apple platform support

– As alternative to Xcode

– Support for Objective-C

Windows Platform

– Debugging to go along with Visual C++ build support

– C#?

External builders support

– CMake, SCons, Jam

| © 2010 Wind River. All Rights Reserved. 16

Areas that need work

Build UI and Workflows

Refactoring coverage and quality

Codan code checkers and quick fix

Scalability to massive projects

| © 2010 Wind River. All Rights Reserved. 17

C/C++ Alive and Well at Eclipse

To the 25+ committers and countless contributors who bring the C/C++ IDE to you.

| © 2011 Wind River. Licensed under the Eclipse Public LIcense. 18

Thank you!