This document provides an agenda for an Eclipse DemoCamp presentation focusing on new features in Eclipse for C/C++ development. The agenda covers updates to the editor, code analysis, build system, and debugging tools with 3-7 enhancements summarized under each section. Key areas of improvement include additional editor functionality, integration of external code checkers into analysis, enhancements to the build console and parallel builds, and new debugging capabilities like multi-select resume/suspend.
1 of 11
Download to read offline
More Related Content
What's new in cdt 8.1
1. TM
Eclipse DemoCamp
Bucharest,
CC BY 3.0
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t
he Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony
are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack,
ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, QorIQ
Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property
of their respective owners. ? 2011 Freescale Semiconductor, Inc.
2. Agenda
? Editor
? Code Analysis
? Build
? Debug
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
TM 2 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. ? 2011 Freescale Semiconductor, Inc.
3. Editor
? Pin the Call Hierarchy View
? Mouse Hover for 'auto' Keyword
? Filtering in Outline Views
? Some additional filtering options added to Project Explorer and Outline View
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
TM 3 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. ? 2011 Freescale Semiconductor, Inc.
4. ? External-tool-based Checkers
? External tools can be configured using Codan¡¯s preference page
? External tools are invoked automatically when a C/C++ file is saved
? The output of these tools can be displayed as editor markers
? Thenew infrastructure makes it very easy to write your own
external-tool-based checker (an example is CPPCheck integration)
? New Codan checkers
? Class members should be properly initialized
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
TM 4 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. ? 2011 Freescale Semiconductor, Inc.
5. ? Console
Build console marks more
prominently start and end of
build and reports elapsed
time
? Parallel Build
? Parallel build was remodeled
? Managed Build
?A few additional options to select from, added to managed build
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
TM 5 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. ? 2011 Freescale Semiconductor, Inc.
6. ? Edit Breakpoint on Create
? It is no longer necessary to first create a CDT breakpoint, then edit
its properties
? Properties such as enabled, ignore count, condition, temporary, can
be set while creating the breakpoint.
? Breakpoint Toggle Short-Cuts
? Function Breakpoint Manual Entry
? Open the Breakpoints view menu.
? Select Add Function Breakpoint C/C++.
? Fill
in the function name or expression and select OK to create
breakpoint.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
TM 6 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. ? 2011 Freescale Semiconductor, Inc.
7. ? Partitioning of large
arrays
? CDT now displays large
arrays as collections of
partitions.
? Advanced character
encoding support
(UTF8, UNICODE ¡)
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
TM 7 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. ? 2011 Freescale Semiconductor, Inc.
8. ? Multi-select Resume/Suspend operations
? Allows to perform a Resume or Suspend operation on multiple
selections of the same debug session (in Non-Stop Debugging
mode)
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
TM 8 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. ? 2011 Freescale Semiconductor, Inc.
9. ? Show only suspended threads in Debug view
? When dealing with a large number of threads, a user is typically
interested by the threads that are being inspected (suspended ones)
and does not care about the running ones.
? Multi-select attach dialog
? CDT now allows selecting more than one process to attach to in a
single user operation
? needs GDB >= 7.2 and Non-Stop debugging enabled
? Default Postmortem file location
? Specify a default directory for the location of core files for a
postmortem launch when the prompt is triggered
? This feature helps reduce the amount of navigation needed to select
a core file.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
TM 9 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. ? 2011 Freescale Semiconductor, Inc.
10. ? Show the actual variable type based on RTTI
? CDT could show the actual variable type (not the declared one) in
Variables and Expressions Views
? This feature is enabled by default and will work if you have the
proper GDB version (7.5 or higher) and RTTI generation enabled
? Build variables support in "C/C++ Application" field of
launch configuration
? Allows setting the path to an executable using build variables
? Support for octal number format in CDI
? The octal number format can be selected from the Debug
preferences
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
TM 10 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. ? 2011 Freescale Semiconductor, Inc.
11. http://wiki.eclipse.org/CDT/User/NewIn81
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
TM 11 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. ? 2011 Freescale Semiconductor, Inc.