CDT 4.0 - New and Noteworthy

CDT 4.0 includes new features in the editor, new code navigation tools, debugger enhancements, and other improvements.
Projects

New Project Creation

Now it's easier to create and configure a new CDT project:

Project Templates

Projects can be created from one of the available templates. Project templates include wizard pages that let you configure basic settings for new project code.

Editor

Code Folding

Now you can collapse and expand blocks of comments and code in C and C++ files.

The same code folded up:

Code Folding Options:

Code Navigation Views

Include Browser

The Include Browser now lets you see the hierarchy of included headers in a source file.

Call Hierarchy

The Call Heirarchy view shows you who calls a function.

Type Hierarchy

The Type Hierarchy view shows you how C/C++ types are related.

Indexer Improvements

The indexer is greatly improved with more features and accuracy:

Debugger

GDB Hardware Debugging

blah blah

Breakpoint Actions

You can now attach actions to a breakpoint. These are additional activities performed when a breakpoint is hit. CDT 4.0 comes with four standard actions that: play a sound, log text to an expression to the console, resume execution, or run an external tool.

 

Contextual Launch Support

CDT 4.0 now takes advantage of the contextual launch support in Eclipse 3.3 to make the run and debug commands just "do the right thing" for C/C++ projects.

Just click the Debug button to start a debug session instead of manually creating a launch configuration.

Locating Source Files

When the debugger can't find a source file using the path in the symbol table it now lets you locate it directly instead of having to configure a source lookup path.

 

Other Improvements

Project Build Button

The toolbar now includes a button that builds the active configuration of the selected project. It's menu lets you quickly build another configuration.

MinGW Toolchain Integration

blah blah

IBM xlC Toolchain Integration

xlc and xlC toolchain integration is available. When you create a new project, select one of the XLC project types.

xlC compiler options:

Task Tags

The Task View now includes entries based on tags in your C/C++ source files.

Task Tag options: