whats new in cdt in mars release
TRANSCRIPT
External Use
TM
What is new in Eclipse® CDTEclipse® DemoCamp Bucharest, 2015
N o v e m b e r . 2 5 . 2 0 1 5
Teodor MadanCDT Committer
TM
External Use 2
Agenda• Overview• General• Debug• Standalone debugger• Multicore • Terminal• Further references
TM
External Use 3
CDT PackagePreinstalled components:
•Remote Systems Explorer•Eclipse Marketplace Client•Eclipse EGit•Codan – static code checker•Linux™ tools•GCC Cross compiler support
Available via Eclipse Oomph installer as well
TM
External Use 4
Editor/Language Support
• Rename header files (since 8.5)• Rename classes (since 8.6)• Format code on save (C/C++ ->
Editor->Save Actions). Also using Ctrl+Shift+F can format single statements
• Additional language support for C++11 standard:− User-defined literals, e.g. “1.2_w”− Alignment specifiers,
TM
External Use 5
Debug: General• Display GDB version• Display thread names• Per variable/register formatting • Shortcuts in Expression view to
create Enhanced Expression Groups
• Add Line Breakpoint from Breakpoints view
• Add C/C++ Watchpoint from Memory View
TM
External Use 6
Debug: Multicore Visualizer
• Supports clone• Supports pinning per process
context• Saves customization done to each
view reference, enabling load meters for a view to be remembered
• Can hide debug toolbar
TM
External Use 7
Standalone Debugger• Now available as a separate package as well from [1]• Start easily from shell an eclipse debugger for native
processes. − sh ~/cdtdebugger/cdtdebug.sh –e hello.elf
• Now supports remote debugging via “-r addr:port” arg. Relies on manually started remote gdbserver.
• Fast startup and can be automated easily− No hassle to setup projects, import executables
• Provides syntax highlighting and symbol navigation for all source files according debug information
• Stripped UI focused on debugger tasks− One single Debug perspective− No longer searching through menu’s/preferences for the action you
need
• Installation details− Follow steps from
eclipse/plugins/org.eclipse.cdt.debug.application_1.1.0.201509131935/scripts/README
TM
External Use 8
Terminal (updated)
Full fledge ANSI terminal• with support for readline, colors, tab
completion, vi editing• Local command prompt, SSH, Telnet
or serial access• Now, installed without any RSE/TCF
packages
An optional feature. • Install from “Linux Tools->TM Terminal”Open from “Terminals -> Terminal”
TM
External Use 9
Other Native tools
• Docker Tools:− Manage and control Docker images
and containers − Docker C/C++ Launcher
• Arduino tools preview− Can be installed from https://
marketplace.eclipse.org/content/arduino-c-ide
− easy to use development environment for Arduino programming
[1] Pictures from:https://www.eclipse.org/mars/noteworthy/ https://wiki.eclipse.org/CDT/User/NewIn87#Docker_support http://eclipsesource.com/blogs/2015/06/16/cc-launching-top-eclipse-mars-feature-7/
TM
External Use 10
Reference
• Download from https://www.eclipse.org/downloads/
• https://wiki.eclipse.org/CDT/User/NewIn85• https://wiki.eclipse.org/CDT/User/NewIn86• https://wiki.eclipse.org/CDT/User/NewIn87• https://wiki.eclipse.org/CDT/User/NewIn88
• https://www.eclipse.org/mars/noteworthy
TM
© 2014 Freescale Semiconductor, Inc. | External Use
www.Freescale.com