whats new in cdt in mars release

11
External Use TM What is new in Eclipse® CDT Eclipse® DemoCamp Bucharest, 2015 November.25.2015 Teodor Madan CDT Committer

Upload: teodor-madan

Post on 11-Apr-2017

190 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Whats new in CDT in Mars Release

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

Page 2: Whats new in CDT in Mars Release

TM

External Use 2

Agenda• Overview• General• Debug• Standalone debugger• Multicore • Terminal• Further references

Page 3: Whats new in CDT in Mars Release

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

Page 4: Whats new in CDT in Mars Release

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,

Page 5: Whats new in CDT in Mars Release

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

Page 6: Whats new in CDT in Mars Release

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

Page 7: Whats new in CDT in Mars Release

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

Page 8: Whats new in CDT in Mars Release

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”

Page 9: Whats new in CDT in Mars Release

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/