Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
CDT/User/NewIn70
< CDT
Contents
Editor
- The new Sort Lines command that sorts selected lines alphabetically.
- Surround with menu [Bug 289339]
- Templates View support [Bug 264140]
- Grouping of macro definitions in the Outline view. [Bug 233390]
Code Analysis
New code analysis framework is introduced, called Codan. See this wiki for details. It comes with a few checkers:
Refactoring
- Allow to decide where to place getters and setters [Bug 285375]
- Refactoring-History for the CDT Refactorings [Bug 282843]
Build
- Compiler errors and warnings highlighting in build console. Navigation from errors in build console to location in editor with double-click on the highlighted line, [Bug 295625]
- Regular Expression Error Parser. Can be used to parse errors from non-standard compilers, [Bug 109139]
- Ability to save build log to a file, [Bug 306222]
- New keyboard bindings "Run Last Make Target" F9/Shift-F9, [Bug 69922]
- Organized project context menu related to build, [Bug 309579] . Reworked "Build Selected Configurations" dialog, [Bug 230185]
- Organized build preferences under "Build" page, [Bug 289169] .
- New overlay icons, [Bug 298540], [Bug 297557], new "headers in workspace" icon [Bug 279502]
- Import/Export in Includes and Symbols tabs on the Paths and Symbols project properties, [Bug 282854]
- Better algorithms to recognize MinGW and Cygwin toolchains, [Bug 195572], [Bug 303900], [Bug 213920]
- When a Hello World project is created, open generated file automatically, [Bug 301732]
- Allow saving files while external Makefile builds are in progress
- Headless Builder has been improved: supports configuration selection; returns error code if built projects have error markers
- ManagedBuild GCC toolchain supports pre included header files (-include switch to gcc) [Bug 115601]
Referenced Projects/Configurations
- CDT Project References can be ordered. Referenced paths and symbols automatically track this order.
- References to library projects are automatically linked in [76407]
- A configuration can reference another configuration in the same project [291887]
UPC
- New UPC project wizard supports the Berkeley UPC toolchain [Bug 301998] and [Bug 314948]
Debug
- 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.
- Support for GDB tracepoints. See the wiki page for details. Available in DSF-GDB only.
- Support for Non-Stop debugging (stopping one or more threads while the others continue to execute). Requires GDB 7.0 or newer.
- Support for 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. [Bug 233230]
- Support of GDB's pretty-printing feature. Requires GDB 7.0 or newer as well as python, and GDB's python pretty-printers. Some information available here.
- Improved support for interrupting the application when debugging on a Windows target. [Bug 304096]
Bugs Fixed in this Release
Known 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]