Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "CDT/User/NewIn70"

< CDT
m
(Debug)
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
[[Image:Cdt_logo_with_name.jpg|thumb|200px| New CDT logo]]
 +
 
== Editor  ==
 
== Editor  ==
  
Line 8: Line 10:
 
*Grouping of macro definitions in the Outline view. [[http://bugs.eclipse.org/233390 Bug 233390]]
 
*Grouping of macro definitions in the Outline view. [[http://bugs.eclipse.org/233390 Bug 233390]]
 
[[Image:CDTOutlinegroupmacros.png]]
 
[[Image:CDTOutlinegroupmacros.png]]
 +
 +
== Code Analysis  ==
 +
 +
New code analysis framework is introduced, called Codan. See this [[CDT/designs/StaticAnalysis|wiki]] for details. It comes with a few checkers:
 +
<br>
 +
[[Image:CDT70_Codan.png]]
  
 
== Refactoring ==
 
== Refactoring ==
Line 15: Line 23:
 
[[Image:CDTRefactoringhistory.png]]
 
[[Image:CDTRefactoringhistory.png]]
  
== Debug  ==
 
  
* Support for GDB tracepoints. See the [[CDT/designs/Tracepoints|wiki page]] for details.
 
* Default debugger now using different debugging framework called DSF. It provides better support for newer gdb version, such as 6.8 and 7.x, for older version you would have to edit preferences to use old framework (CDI) by default. See full list of DFS features  [http://www.eclipse.org/dsdp/dd/development/relnotes/dd_news-1.1.html here].
 
  
 
== Build  ==
 
== Build  ==
  
*Compiler errors and warnings highlighting in build console. Navigation from errors in build console to location in editor, [[http://bugs.eclipse.org/295625 Bug 295625]]  
+
*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, [[http://bugs.eclipse.org/295625 Bug 295625]]
*Regular Expression Error Parser (To parse errors from non-standard compilers), [[http://bugs.eclipse.org/109139 Bug 109139]]  
+
[[Image:CDT_ConsoleProblemHighlighting.png]]
 +
*Regular Expression Error Parser. Can be used to parse errors from non-standard compilers, [[http://bugs.eclipse.org/109139 Bug 109139]]
 +
[[Image:CDT_RegexErrorParser.png]]
 
*Ability to save build log to a file, [[http://bugs.eclipse.org/306222 Bug 306222]]  
 
*Ability to save build log to a file, [[http://bugs.eclipse.org/306222 Bug 306222]]  
 +
[[Image:CDT_SaveLog.png]]
 
*New keyboard bindings "Run Last Make Target" F9/Shift-F9, [[http://bugs.eclipse.org/69922 Bug 69922]]  
 
*New keyboard bindings "Run Last Make Target" F9/Shift-F9, [[http://bugs.eclipse.org/69922 Bug 69922]]  
*Better algorithms to recognize MinGW and Cygwin toolchains, [[http://bugs.eclipse.org/303900 Bug 303900]], [[http://bugs.eclipse.org/195572 Bug 195572]]
+
[[Image:CDT_LastMakeTarget.png]]
*When a Hello World project is created, open generated file automatically, [[http://bugs.eclipse.org/301732 Bug 301732]]  
+
 
*Organized project context menu related to build, [[http://bugs.eclipse.org/309579 Bug 309579]] . Reworked "Build Selected Configurations" dialog, [[http://bugs.eclipse.org/230185 Bug 230185]]  
 
*Organized project context menu related to build, [[http://bugs.eclipse.org/309579 Bug 309579]] . Reworked "Build Selected Configurations" dialog, [[http://bugs.eclipse.org/230185 Bug 230185]]  
 +
[[Image:CDT_ProjectContextMenu.png]]
 +
[[Image:CDT_BuildSelected.png]]
 
*Organized build preferences under "Build" page, [[http://bugs.eclipse.org/289169 Bug 289169]] .  
 
*Organized build preferences under "Build" page, [[http://bugs.eclipse.org/289169 Bug 289169]] .  
 +
[[Image:CDT_BuildPreferences.png]]
 
*New overlay icons, [[http://bugs.eclipse.org/298540 Bug 298540]], [[http://bugs.eclipse.org/297557 Bug 297557]], new "headers in workspace" icon [[http://bugs.eclipse.org/279502 Bug 279502]]  
 
*New overlay icons, [[http://bugs.eclipse.org/298540 Bug 298540]], [[http://bugs.eclipse.org/297557 Bug 297557]], new "headers in workspace" icon [[http://bugs.eclipse.org/279502 Bug 279502]]  
 +
[[Image:CDT_NewIcons70.png]]
 +
*Import/Export in Includes and Symbols tabs on the Paths and Symbols project properties, [[http://bugs.eclipse.org/282854 Bug 282854]]
 +
[[Image:CDT_ImportIncludes.png]]
 +
*Better algorithms to recognize MinGW and Cygwin toolchains, [[http://bugs.eclipse.org/195572 Bug 195572]], [[http://bugs.eclipse.org/303900 Bug 303900]], [[http://bugs.eclipse.org/213920 Bug 213920]] 
 +
*When a Hello World project is created, open generated file automatically, [[http://bugs.eclipse.org/301732 Bug 301732]]
 
*Allow saving files while external Makefile builds are in progress
 
*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
 
*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)  [[https://bugs.eclipse.org/115601 Bug 115601]]
 
*ManagedBuild GCC toolchain supports pre included header files (-include switch to gcc)  [[https://bugs.eclipse.org/115601 Bug 115601]]
  
== Core ==
+
== Referenced Projects/Configurations ==
  
 
*CDT Project References can be ordered. Referenced paths and symbols automatically track this order.
 
*CDT Project References can be ordered. Referenced paths and symbols automatically track this order.
 
*References to library projects are automatically linked in [[https://bugs.eclipse.org/76407 76407]]
 
*References to library projects are automatically linked in [[https://bugs.eclipse.org/76407 76407]]
 
*A configuration can reference another configuration in the same project [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=291887 291887]]
 
*A configuration can reference another configuration in the same project [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=291887 291887]]
 
== Code Analysis  ==
 
 
New code analysis framework is introduced, called Codan. See this [[CDT/designs/StaticAnalysis|wiki]] for details. It comes with few checkers:
 
* Return inconsistencies
 
* Code has no effect
 
* Possible assignment instead of comparison
 
* Catching exception by value
 
* Non-virtual destructor
 
* Function name style-check
 
  
 
== UPC  ==
 
== UPC  ==
  
 
*New UPC project wizard supports the Berkeley UPC toolchain [[http://bugs.eclipse.org/301998 Bug 301998]] and [[http://bugs.eclipse.org/314948 Bug 314948]]
 
*New UPC project wizard supports the Berkeley UPC toolchain [[http://bugs.eclipse.org/301998 Bug 301998]] and [[http://bugs.eclipse.org/314948 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  [http://www.eclipse.org/dsdp/dd/development/relnotes/dd_news-1.1.html here].
 +
* Support for GDB tracepoints. See the [[CDT/User/FAQ#How_can_I_trace_my_application_using_C.2FC.2B.2B_Tracepoints.3F|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.
 +
[[Image:CDT_NonStopDebugging.png]]
 +
* 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 [http://live.eclipse.org/node/723 here].
 +
* Run-to-line feature now allows to run to any line in the program, instead of only lines within the same method.  [[http://bugs.eclipse.org/233230 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 [http://sourceware.org/gdb/wiki/STLSupport here].
 +
* Improved support for interrupting the application when debugging on a Windows target.  [[http://bugs.eclipse.org/304096 Bug 304096]]
 +
 +
== Bugs Fixed in this Release ==
 +
 +
[https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;resolution=FIXED;target_milestone=6.1;target_milestone=7.0;product=CDT;classification=Tools Fixed in CDT 7.0]
  
 
== Known Limitations  ==
 
== Known Limitations  ==
  
 
*Cannot run or debug class in a project with GB18030 characters in workspace/project name.&nbsp; 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 [[http://bugs.eclipse.org/308803 Bug 308803]]
 
*Cannot run or debug class in a project with GB18030 characters in workspace/project name.&nbsp; 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 [[http://bugs.eclipse.org/308803 Bug 308803]]
 +
 +
== What's new in 7.0.1?  ==
 +
 +
[https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;resolution=FIXED;target_milestone=7.0.1;product=CDT;classification=Tools Fixed in CDT 7.0.1]

Revision as of 10:10, 28 March 2012

New CDT logo

Editor

  • The new Sort Lines command that sorts selected lines alphabetically.
  • Surround with menu [Bug 289339]

CDTSurroundwith.png

CDTTemplates.png

  • Grouping of macro definitions in the Outline view. [Bug 233390]

CDTOutlinegroupmacros.png

Code Analysis

New code analysis framework is introduced, called Codan. See this wiki for details. It comes with a few checkers:
CDT70 Codan.png

Refactoring

  • Allow to decide where to place getters and setters [Bug 285375]
  • Refactoring-History for the CDT Refactorings [Bug 282843]

CDTRefactoringhistory.png


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]

CDT ConsoleProblemHighlighting.png

  • Regular Expression Error Parser. Can be used to parse errors from non-standard compilers, [Bug 109139]

CDT RegexErrorParser.png

  • Ability to save build log to a file, [Bug 306222]

CDT SaveLog.png

  • New keyboard bindings "Run Last Make Target" F9/Shift-F9, [Bug 69922]

CDT LastMakeTarget.png

  • Organized project context menu related to build, [Bug 309579] . Reworked "Build Selected Configurations" dialog, [Bug 230185]

CDT ProjectContextMenu.png CDT BuildSelected.png

  • Organized build preferences under "Build" page, [Bug 289169] .

CDT BuildPreferences.png

CDT NewIcons70.png

  • Import/Export in Includes and Symbols tabs on the Paths and Symbols project properties, [Bug 282854]

CDT ImportIncludes.png

  • 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

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.

CDT NonStopDebugging.png

  • 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

Fixed in CDT 7.0

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]

What's new in 7.0.1?

Fixed in CDT 7.0.1

Back to the top