# CDT 7.0 - New and Noteworthy

See What's new in CDT 7.0 on the CDT wiki which may contain more recent information.

Editor
Sort Lines | The new Sort Lines command that sorts selected lines alphabetically.
Surround with |
Templates View support | Added Templates View support.
Outline View Groupings | Option to group macro definitions in the Outline view.
Codan
Code Analysis | New code analysis framework is introduced, called Codan. See this wiki for details.
Refactoring
Getters and setters | Choice where to place getters and setters during refactoring.
Refactoring History | Introduced Refactoring History for the CDT Refactorings
Build
Edit While Building | Allow saving files while external Makefile builds are in progress
Console Error Highlighting | Compiler errors and warnings are now highlighted in the build console. Navigation from errors in build console to location in editor is possible with double-click on the highlighted line.
Regex Error Parser | Regular Expression Error Parser introduced. The parser is user-configurable and can be used to parse errors from non-standard compilers
Save Log | Added ability to save build log to a file
Run Last Target | New keyboard bindings Run Last Make Target F9/Shift-F9
Project Context Menu | Organized project context menu related to build.
Build Selected Configurations | Reworked Build Selected Configurations dialog.
Build Preferences | Organized build preferences under Build page.
New Icons | New icons and decorations.
Import Includes | Import/Export in Includes and Symbols tabs on the Paths and Symbols project properties.
MinGW and Cygwin | Better algorithms to recognize MinGW and Cygwin toolchains, see bug 303900 (Cygwin 1.7) and bug 195572 (MINGW) for details.
Hello World | When a Hello World project is created, open generated file automatically.
Headless Builder | Headless Builder has been improved: supports configuration selection, returns error code if built projects have error markers.
GCC options | ManagedBuild GCC toolchain supports pre included header files, i.e. -include switch to gcc

References

- CDT Project References can be ordered. Referenced paths and symbols automatically track this order.
- References to library projects are automatically linked in.
- A configuration can reference another configuration in the same project.

UPC

- New UPC project wizard supports the Berkeley UPC toolchain.

Debug
Non-Stop | Support for Non-Stop Debugging (stopping one or more threads while the others continue to execute). Requires GDB 7.0 or newer.

Features

- DSF-GDB. The default debugger for the CDT is now using a different debugging framework and is called DSF-GDB. It provides better support for newer GDB versions, such as 6.7, 6.8 and 7.x, for older versions you would have to edit preferences to use the old framework (CDI) by default. See full list of DSF-GDB features here.
- GDB Tracepoints are now supported. See the wiki page. Available in DSF-GDB only.
- Reverse Debugging which allows to undo execution. Requires GDB 7.0 or newer and only available on Linux. Available in DSF-GDB only. A webinar on the topic is available here.
- Run To Line feature now allows to run to any line in the program, instead of only lines within the same method.
- Pretty Printing feature of GDB is supported. Requires GDB 7.0 or newer as well as python, and GDB's python pretty-printers. Some information available here.
- Interrupts on Windows platform while debugging application got improved support.

Bugs Fixed
Fixed | All Bugzilla tasks closed in this release: CDT 7.0 bug fixes
Known Limitations

Limitations

Cannot run or debug class in a project with GB18030 characters in workspace/project name. Most class libraries do not properly support the creation of a system process (via java.lang.Runtime.exec(...)) when the specified command line contains GB18030 characters. This limitation means the scanner discovery mechanism and debugger cannot launch applications when the command line it generates contains GB18030 characters. Details in Bug 308803

To learn what's new in CDT releases see:

CDT - New and Noteworthy

CDT 8.2 - New and Noteworthy

CDT 8.1 - New and Noteworthy

CDT 8.0 - New and Noteworthy

CDT 7.0 - New and Noteworthy

CDT 6.0 - New and Noteworthy

CDT 5.0 - New and Noteworthy

Back to Top