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.
Difference between revisions of "CDT/User/NewIn86"
(→Debug) |
|||
Line 5: | Line 5: | ||
C/C++ Editor now supports save actions similar to JDT. Details TBD. | C/C++ Editor now supports save actions similar to JDT. Details TBD. | ||
− | This feature was contributed by Marco Stornelli on December 14th, 2014 through [http://eclip.se/241355 | + | This feature was contributed by Marco Stornelli on December 14th, 2014 through [http://eclip.se/241355 bug 241355]. |
== Refactoring == | == Refactoring == | ||
Line 15: | Line 15: | ||
[[Image:Class_rename.png]] | [[Image:Class_rename.png]] | ||
− | This feature was completed on December 23rd, 2014 through [http://eclip.se/456099 | + | This feature was completed on December 23rd, 2014 through [http://eclip.se/456099 bug 456099]. |
== Indexing == | == Indexing == | ||
Line 30: | Line 30: | ||
Also, the version of GDB will be printed in the eclipse gdb console along with the rest of GDB's launch message, when starting a new debug session. | Also, the version of GDB will be printed in the eclipse gdb console along with the rest of GDB's launch message, when starting a new debug session. | ||
− | This enhancement was completed January 7th, 2015 through [http://eclip.se/455408 | + | This enhancement was completed January 7th, 2015 through [http://eclip.se/455408 bug 455408]. |
=== Display of thread names === | === Display of thread names === | ||
Line 40: | Line 40: | ||
[[Image:CDT_NewThreadNode.png]] | [[Image:CDT_NewThreadNode.png]] | ||
− | This was a contribution by Simon Marchi and was completed on December 3rd, 2014 through [http://eclip.se/378154 | + | This was a contribution by Simon Marchi and was completed on December 3rd, 2014 through [http://eclip.se/378154 bug 378154]. |
=== Per-element number format === | === Per-element number format === | ||
Line 52: | Line 52: | ||
[[Image:CDTDebug_NumberFormatClone.png]] | [[Image:CDTDebug_NumberFormatClone.png]] | ||
− | This feature was completed October 29th, 2014 through [http://eclip.se/439624 | + | This feature was completed October 29th, 2014 through [http://eclip.se/439624 bug 439624]. |
=== Terminating or disconnecting multiple processes with one command === | === Terminating or disconnecting multiple processes with one command === | ||
Line 58: | Line 58: | ||
It is possible now to terminate or disconnect multiple processes running in same debug session using a single "Terminate" or "Disconnect" command. | It is possible now to terminate or disconnect multiple processes running in same debug session using a single "Terminate" or "Disconnect" command. | ||
− | This feature was completed on December 4th, 2014 through [http://eclip.se/434558 | + | This feature was completed on December 4th, 2014 through [http://eclip.se/434558 bug 434558]. |
=== Register grouping === | === Register grouping === | ||
Line 72: | Line 72: | ||
[[Image:SelectTheGroupRegisters.png]] | [[Image:SelectTheGroupRegisters.png]] | ||
− | This feature was completed December 9th, 2014 through [http://eclip.se/235747 | + | This feature was completed December 9th, 2014 through [http://eclip.se/235747 bug 235747]. |
=== Pinning of Multicore Visualizer view === | === Pinning of Multicore Visualizer view === | ||
Line 106: | Line 106: | ||
− | This feature was completed August 22nd, 2014 through [http://eclip.se/441713 | + | This feature was completed August 22nd, 2014 through [http://eclip.se/441713 bug 441713]. |
Line 117: | Line 117: | ||
[[File:connection_properties.jpg]] | [[File:connection_properties.jpg]] | ||
− | This feature was a contribution from Iulia Vasii and was completed October 28th, 2014 through [http://eclip.se/370768 | + | This feature was a contribution from Iulia Vasii and was completed October 28th, 2014 through [http://eclip.se/370768 bug 370768]. |
=== Remote debugging support in the Standalone Debugger === | === Remote debugging support in the Standalone Debugger === | ||
Line 129: | Line 129: | ||
~/cdtdebugger/cdtdebug.sh -r localhost:9999 -a | ~/cdtdebugger/cdtdebug.sh -r localhost:9999 -a | ||
− | This feature was completed November 28th, 2014 through [http://eclip.se/450080 | + | This feature was completed November 28th, 2014 through [http://eclip.se/450080 bug 450080]. |
=== Example plug-in extending DSF-GDB === | === Example plug-in extending DSF-GDB === | ||
CDT now provides an example plugin that extends DSF-GDB. This plugin show different techniques that can be used by others to build on top of DSF-GDB. It can be found in the standard CDT git repo under dsf-gdb/org.eclipse.cdt.examples.dsf.gdb. | CDT now provides an example plugin that extends DSF-GDB. This plugin show different techniques that can be used by others to build on top of DSF-GDB. It can be found in the standard CDT git repo under dsf-gdb/org.eclipse.cdt.examples.dsf.gdb. | ||
− | This plugin was created on December 18th, 2014 through [http://eclip.se/441277 | + | This plugin was created on December 18th, 2014 through [http://eclip.se/441277 bug 441277]. |
== Miscellaneous == | == Miscellaneous == | ||
=== PowerPC little endian support === | === PowerPC little endian support === | ||
− | CDT can now run on PowerPC Little Endian (ppc64le) architectures. The work was contributed by Wainer dos Santos Moschetta. See [http://eclip.se/443343 | + | CDT can now run on PowerPC Little Endian (ppc64le) architectures. The work was contributed by Wainer dos Santos Moschetta. See [http://eclip.se/443343 bug 443343] for details. |
== Bugs fixed in this release == | == Bugs fixed in this release == | ||
See Bugzilla report [https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Tools&list_id=9229266&product=CDT&query_format=advanced&resolution=FIXED&target_milestone=8.6.0 Bugs Fixed in CDT 8.6] | See Bugzilla report [https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Tools&list_id=9229266&product=CDT&query_format=advanced&resolution=FIXED&target_milestone=8.6.0 Bugs Fixed in CDT 8.6] |
Revision as of 16:35, 7 January 2015
Contents
- 1 Editor
- 2 Refactoring
- 3 Indexing
- 4 Build
- 5 Debug
- 5.1 Display of GDB version
- 5.2 Display of thread names
- 5.3 Per-element number format
- 5.4 Terminating or disconnecting multiple processes with one command
- 5.5 Register grouping
- 5.6 Pinning of Multicore Visualizer view
- 5.7 Edit connection properties in remote launch
- 5.8 Remote debugging support in the Standalone Debugger
- 5.9 Example plug-in extending DSF-GDB
- 6 Miscellaneous
- 7 Bugs fixed in this release
Editor
Save actions
C/C++ Editor now supports save actions similar to JDT. Details TBD.
This feature was contributed by Marco Stornelli on December 14th, 2014 through bug 241355.
Refactoring
File rename when renaming a class
Renaming a class can now rename the files containing the class declaration, implementation and tests. The files are renamed if their names are related to the name of the class being renamed.
This feature was completed on December 23rd, 2014 through bug 456099.
Indexing
Build
Debug
Display of GDB version
CDT now prints the version of GDB in the Debug view in the label of the node representing the GDB binary. Furthermore, the name of the binary, as filled by the user in the launch tab will be displayed. Previously, only the string "gdb" was shown.
Also, the version of GDB will be printed in the eclipse gdb console along with the rest of GDB's launch message, when starting a new debug session.
This enhancement was completed January 7th, 2015 through bug 455408.
Display of thread names
The CDT now shows the name of threads in the Debug view. GDB started reporting that information as of version 7.3. However, this only affects Linux platforms, as there does not seem to be a way to name threads on Windows, while the GDB on Mac does not yet report thread names.
To properly show these thread names, the format of the Thread display has been slightly modified to be as shown below:
This was a contribution by Simon Marchi and was completed on December 3rd, 2014 through bug 378154.
Per-element number format
The CDT now supports setting the number format for individual elements of the Variables, Expressions and Registers views. The selected format of each element will be persisted across debug sessions and across Eclipse restarts.
Note that a selected format is per view instance which means that if a view is cloned, the second instance will not follow the formatting of the original view, and can be given a different format for similar elements.
This feature was completed October 29th, 2014 through bug 439624.
Terminating or disconnecting multiple processes with one command
It is possible now to terminate or disconnect multiple processes running in same debug session using a single "Terminate" or "Disconnect" command.
This feature was completed on December 4th, 2014 through bug 434558.
Register grouping
This feature makes it possible for the user to select an arbitrary set of available registers and create a register group which is visualized under the registers view.
The register view can then be used to collapse and expand these groups to display the contents.
These groups can be edited to add/remove selected registers and/or to edit the group's name
These groups are preserved so the user does not have to re-create them when using the same launch configuration.
This feature was completed December 9th, 2014 through bug 235747.
Pinning of Multicore Visualizer view
CDT now supports the pinning of Multicore Visualizer views. A "pin view to debug session" toggle button was added to the Multicore Visualizer toolbar, that permits pinning a MV view to the current debug session.
A Multicore Visualizer view, when pinned, will continue showing the debug session it's pinned-on, even when another debug session is selected in the Debug view.
Pinning is most useful when used in conjunction with MV view cloning. It can be used to setup a workspace where a user can visualize what's happening with multiple debug sessions, being run in parallel.
Here's a simple example to demonstrate pinning: we have a workbench with two Multicore Visualizers views. There are two ongoing debug sessions in the Debug view; session #2 is selected, and shown in both MVs. Note that the new "pin" button is highlighted in the first MV:
We switch to session #1, and both MVs follow:
We pin the first MV to session #1:
We switch to debug session #2; pinned MV stays on session #1:
This feature was completed August 22nd, 2014 through bug 441713.
Edit connection properties in remote launch
For 'C/C++ Remote Application' launch configurations there is a new 'Edit...' button in the Main tab. Its aim is to give access to the selected connection properties such as host name. So far changing the connection properties was only possible through the Remote Systems view.
This feature was a contribution from Iulia Vasii and was completed October 28th, 2014 through bug 370768.
Remote debugging support in the Standalone Debugger
The CDT Standalone Debugger now supports remote debugging in the same fashion as standard CDT Debug does. However, it only supports connecting to a running gdbserver, i.e., it will not start gdbserver automatically. To specify a remote debugging session from the command line, the -r option has been added. The new -r flag can optionally be used with the -a flag to trigger a Remote-Attach session.
For example, to perform a remote debugging session to a gdbserver that is running the binary a.out on localhost and port 9999:
~/cdtdebugger/cdtdebug.sh -r localhost:9999 -e ~/a.out
And to perform a remote-attach debugging session to a gdbserver running on localhost and port 9999:
~/cdtdebugger/cdtdebug.sh -r localhost:9999 -a
This feature was completed November 28th, 2014 through bug 450080.
Example plug-in extending DSF-GDB
CDT now provides an example plugin that extends DSF-GDB. This plugin show different techniques that can be used by others to build on top of DSF-GDB. It can be found in the standard CDT git repo under dsf-gdb/org.eclipse.cdt.examples.dsf.gdb.
This plugin was created on December 18th, 2014 through bug 441277.
Miscellaneous
PowerPC little endian support
CDT can now run on PowerPC Little Endian (ppc64le) architectures. The work was contributed by Wainer dos Santos Moschetta. See bug 443343 for details.
Bugs fixed in this release
See Bugzilla report Bugs Fixed in CDT 8.6