How to Troubleshoot Apps for the Modern Connected Worker
Whats new in CDT in Luna Release,
1. External Use
TM
What is new in Eclipse® CDT
Eclipse® DemoCamp Bucharest, 2014
J u l y . 0 2 . 2 0 1 4
TeodorMadan
CDTCommiter
2. TM
External Use 1
Agenda
• Overview
• General
• Debug
• Standalone debugger
• Multicore
• Terminal
• Further references
3. TM
External Use 2
CDT Package
Preinstalled components:
•Remote Systems Explorer
•Eclipse Marketplace Client
•Eclipse EGit
•Codan – static code checker
•Linux™ Autotools
•GCC Cross compiler support
4. TM
External Use 3
General
• Lots of usability improvements
− Better space usage
• Long awaited Dark theme
• Split Editors
− “Window->Editor->Toggle Split …
− Shortcuts: CTRL+_ or CTRL+{
• Redesigned icons
• Ubuntu™ 14.04 menu integration
• Show In System Explorer
− From “Navigate->Show In->System
Explorer”
5. TM
External Use 4
Debug: General
• Opcodes in Disassembly View
− activate with in-view pop-up menu
− Support for optimized code disassembly
• Change breakpoint type
− From breakpoint properties page
− creating non-regular breakpoint with “CTRL”
+ click on breakpoint ruler
• Showing return value of method after a
step-return
• Dynamic printf - insert diagnostics print
value without recompiling application
• Register view is now stack-frame-specific
6. TM
External Use 5
Debug: Multicore/Multiprocess
• Threads displayed by creation order
in the Debug view
• Support for multi-process debugging
in Memory views
− Memory is displayed from correct
context
• Multi-arch debugging in Registers
view
• Multicore Visualizer enhancements
− Supports all-stop gdb mode
− Tooltip support
− Extensible beyond Linux application
7. TM
External Use 6
Standalone Debugger (Linux Only)
• Start easily from shell an eclipse debugger for
native processes.
− sh ~/cdtdebugger/cdtdebug.sh –e hello.elf
• 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.0.0
.201406111759/scripts/README
8. TM
External Use 7
Terminal
Full fledge ANSI terminal
• with support for readline, colors, tab
completion, vi editing
• Local command prompt, SSH, Telnet or
serial access
An optional feature.
• Install from marketplace “TCF Terminals”
• Or from “Linux Tools->TCF Terminal
(Console) View
Open from “Target Explorer Views ->
Terminals”
9. TM
External Use 8
Reference
• Download from
https://www.eclipse.org/downloads/packages/eclipse-ide-cc-
developers/lunar
• https://wiki.eclipse.org/CDT/User/NewIn83
• https://wiki.eclipse.org/CDT/User/NewIn84
• http://download.eclipse.org/eclipse/downloads/drops4/R-4.4-
201406061215/news/eclipse-news-part1.html
• http://marketplace.eclipse.org/content/tcf-terminals