mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-31 04:03:27 +02:00

This commit migrates all the N&N content from https://wiki.eclipse.org/CDT/User/NewInCDT to GitHub. For newer releases (>= CDT 10.0) the entire content has been rewritten in GitHub flavour Markdown. For older releases, the N&N page has simply been saved in a rendered format.
715 lines
No EOL
78 KiB
HTML
715 lines
No EOL
78 KiB
HTML
<!DOCTYPE html>
|
|
<!-- saved from url=(0041)https://wiki.eclipse.org/CDT/User/NewIn80 -->
|
|
<html lang="en" dir="ltr" class="client-js"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script type="text/javascript" async="" src="./CDT-8.0_files/f.txt"></script><script type="text/javascript" async="" src="./CDT-8.0_files/insight.min.js"></script><script type="text/javascript" async="" src="./CDT-8.0_files/js"></script><script src="./CDT-8.0_files/conversations-embed.js" type="text/javascript" id="hubspot-messages-loader" data-loader="hs-scriptloader" data-hsjs-portal="5413615" data-hsjs-env="prod" data-hsjs-hublet="na1"></script><script src="./CDT-8.0_files/5413615.js" type="text/javascript" id="cookieBanner-5413615" data-cookieconsent="ignore" data-hs-ignore="true" data-loader="hs-scriptloader" data-hsjs-portal="5413615" data-hsjs-env="prod" data-hsjs-hublet="na1"></script><script src="./CDT-8.0_files/5413615(1).js" type="text/javascript" id="hs-analytics"></script><script src="./CDT-8.0_files/fb.js" type="text/javascript" id="hs-ads-pixel-5413615" data-ads-portal-id="5413615" data-ads-env="prod" data-loader="hs-scriptloader" data-hsjs-portal="5413615" data-hsjs-env="prod" data-hsjs-hublet="na1"></script><script type="text/javascript" async="" src="./CDT-8.0_files/analytics.js"></script><script async="" src="./CDT-8.0_files/gtm.js"></script>
|
|
|
|
<title>CDT/User/NewIn80 - Eclipsepedia</title>
|
|
<script>document.documentElement.className = document.documentElement.className.replace( /(^|\s)client-nojs(\s|$)/, "$1client-js$2" );</script>
|
|
<script>window.RLQ = window.RLQ || []; window.RLQ.push( function () {
|
|
mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":!1,"wgNamespaceNumber":0,"wgPageName":"CDT/User/NewIn80","wgTitle":"CDT/User/NewIn80","wgCurRevisionId":376028,"wgRevisionId":376028,"wgArticleId":26308,"wgIsArticle":!0,"wgIsRedirect":!1,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgBreakFrames":!1,"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"CDT/User/NewIn80","wgRelevantArticleId":26308,"wgIsProbablyEditable":!1,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgWikiEditorEnabledModules":{"toolbar":!1,"dialogs":!1,"preview":!1,"publish":!1},
|
|
"wgCategoryTreePageCategoryOptions":"{\"mode\":0,\"hideprefix\":20,\"showcount\":true,\"namespaces\":false}"});mw.loader.implement("user.options",function($,jQuery){mw.user.options.set({"variant":"en"});});mw.loader.implement("user.tokens",function($,jQuery){mw.user.tokens.set({"editToken":"+\\","patrolToken":"+\\","watchToken":"+\\"});});mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits"]);
|
|
} );</script>
|
|
<link rel="stylesheet" href="./CDT-8.0_files/load.php">
|
|
<link rel="stylesheet" href="./CDT-8.0_files/styles.css" media="screen, print">
|
|
<style>
|
|
.mw-collapsible-toggle{float:right;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none} .mw-content-ltr .mw-collapsible-toggle,.mw-content-rtl .mw-content-ltr .mw-collapsible-toggle{float:right} .mw-content-rtl .mw-collapsible-toggle,.mw-content-ltr .mw-content-rtl .mw-collapsible-toggle{float:left}.mw-customtoggle,.mw-collapsible-toggle{cursor:pointer} caption .mw-collapsible-toggle,.mw-content-ltr caption .mw-collapsible-toggle,.mw-content-rtl caption .mw-collapsible-toggle,.mw-content-rtl .mw-content-ltr caption .mw-collapsible-toggle,.mw-content-ltr .mw-content-rtl caption .mw-collapsible-toggle{float:none} li .mw-collapsible-toggle,.mw-content-ltr li .mw-collapsible-toggle,.mw-content-rtl li .mw-collapsible-toggle,.mw-content-rtl .mw-content-ltr li .mw-collapsible-toggle,.mw-content-ltr .mw-content-rtl li .mw-collapsible-toggle{float:none} .mw-collapsible-toggle-li{list-style:none}
|
|
.suggestions{overflow:hidden;position:absolute;top:0;left:0;width:0;border:none;z-index:1099;padding:0;margin:-1px 0 0 0}.suggestions-special{position:relative;background-color:white;cursor:pointer;border:solid 1px #aaaaaa;padding:0;margin:0;margin-top:-2px;display:none;padding:0.25em 0.25em;line-height:1.25em}.suggestions-results{background-color:white;cursor:pointer;border:solid 1px #aaaaaa;padding:0;margin:0}.suggestions-result{color:black;margin:0;line-height:1.5em;padding:0.01em 0.25em;text-align:left; overflow:hidden;-o-text-overflow:ellipsis; text-overflow:ellipsis;white-space:nowrap}.suggestions-result-current{background-color:#4C59A6;color:white}.suggestions-special .special-label{color:gray;text-align:left}.suggestions-special .special-query{color:black;font-style:italic;text-align:left}.suggestions-special .special-hover{background-color:silver}.suggestions-result-current .special-label,.suggestions-result-current .special-query{color:white}.highlight{font-weight:bold}
|
|
.postedit-container{margin:0 auto;position:fixed;top:0;height:0;left:50%;z-index:1000;font-size:13px}.postedit-container:hover{cursor:pointer}.postedit{position:relative;top:0.6em;left:-50%;padding:.6em 3.6em .6em 1.1em;line-height:1.5625em;color:#626465;background-color:#f4f4f4;border:1px solid #dcd9d9;text-shadow:0 0.0625em 0 rgba(255,255,255,0.5);border-radius:5px;box-shadow:0 2px 5px 0 #ccc;-webkit-transition:all 0.25s ease-in-out;-moz-transition:all 0.25s ease-in-out;-ms-transition:all 0.25s ease-in-out;-o-transition:all 0.25s ease-in-out;transition:all 0.25s ease-in-out}.skin-monobook .postedit{top:6em !important}.postedit-faded{opacity:0}.postedit-icon{padding-left:41px; line-height:25px;background-repeat:no-repeat;background-position:8px 50%}.postedit-icon-checkmark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABblBMVEUAAAD///////9PfTf///80aRdTgjn///9Feij///////////9Rfzf///////////9PfjZRgDh1o1xOfTb///////+bwYqLtnj///////9PfTa82K////9WhT6YxIL///9QgDdTgzr////////j7uDl7eLq8efi693k7OH///////9UhjuBr2rp9uRUhjr///9YljVKgir///9WiTlYjT3////9/v57vFlbkT5PjC9dlD/5/fhuq09stUTs9uhxuElctCpfnT1huDFloEZloUZmpENmvDZpvDxpvTxqvjxrvT5rvT9rwTxsqktswD5uwkBvuUdxw0NztFBztU9ztVBzwkp0tlJ1xkd2t1R3uVR4w1F4xk54x014yE15uVZ5v1R5xVB6v1R7yFJ8wVh9xVl9yFR9yVd9ylN+xVh+yFd/x1l/yFeAylmEx1+Ny2uY0Hqe04Wj1Ymv3Ze33qLD47TJ5L3O6cPU7Mrq9eb2+/Q4j37OAAAAQHRSTlMAAQIEBAUFBQwPFB4fJCUoKiosQEhJS01RUlZZXmdydXaChYuSlJSWmJmoq6uur8LExcvM19fg5ejt8fX2+Pr7SljgewAAAKpJREFUGBkFwQNCAwAAAMDLtl3LtrG4rWXbtvX77gAgZ6grFwC0bhwNVgKgdPZx8b0dgLi+s7Wn0VoAqpfOI9+BNADZI7fLrz2pSEwGHZuH+78lSK8ZLkLezF3ooyUG3VPXq2USei9WngeyoG195yBYWDF3E/2pAhl1e9Gr8bGT+bfOFCC2fnvh4X7rcqIAQNNu+HT6sxkAjceTL/2ZAIhv+PorBwBJxfkA//dFHSCBy/UTAAAAAElFTkSuQmCC);background-image:url(/resources/src/mediawiki.action/images/green-checkmark.png?9048a)!ie;background-position:left}.postedit-close{position:absolute;padding:0 .8em;right:0;top:0;font-size:1.25em;font-weight:bold;line-height:2.3em;color:black;text-shadow:0 0.0625em 0 white;text-decoration:none;opacity:0.2;filter:alpha(opacity=20)}.postedit-close:hover{color:black;text-decoration:none;opacity:0.4;filter:alpha(opacity=40)}</style><style>
|
|
.suggestions a.mw-searchSuggest-link,.suggestions a.mw-searchSuggest-link:hover,.suggestions a.mw-searchSuggest-link:active,.suggestions a.mw-searchSuggest-link:focus{color:black;text-decoration:none}.suggestions-result-current a.mw-searchSuggest-link,.suggestions-result-current a.mw-searchSuggest-link:hover,.suggestions-result-current a.mw-searchSuggest-link:active,.suggestions-result-current a.mw-searchSuggest-link:focus{color:white}.suggestions a.mw-searchSuggest-link .special-query{ overflow:hidden;-o-text-overflow:ellipsis; text-overflow:ellipsis;white-space:nowrap}</style><meta name="ResourceLoaderDynamicStyles" content="">
|
|
<style>a:lang(ar),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}</style>
|
|
<script async="" src="./CDT-8.0_files/load(1).php"></script>
|
|
<meta name="generator" content="MediaWiki 1.26.4">
|
|
<link rel="shortcut icon" href="https://wiki.eclipse.org/eclipse.org-common/themes/solstice/public/images/favicon.ico">
|
|
<link rel="search" type="application/opensearchdescription+xml" href="https://wiki.eclipse.org/opensearch_desc.php" title="Eclipsepedia (en)">
|
|
<link rel="EditURI" type="application/rsd+xml" href="https://wiki.eclipse.org/api.php?action=rsd">
|
|
<link rel="alternate" type="application/atom+xml" title="Eclipsepedia Atom feed" href="https://wiki.eclipse.org/index.php?title=Special:RecentChanges&feed=atom">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<script src="./CDT-8.0_files/load(2).php"></script><style></style><script async="" src="./CDT-8.0_files/js(1)"></script><meta http-equiv="origin-trial" content="A7bG5hJ4XpMV5a3V1wwAR0PalkFSxLOZeL9D/YBYdupYUIgUgGhfVJ1zBFOqGybb7gRhswfJ+AmO7S2rNK2IOwkAAAB7eyJvcmlnaW4iOiJodHRwczovL3d3dy5nb29nbGV0YWdtYW5hZ2VyLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjY5NzY2Mzk5LCJpc1RoaXJkUGFydHkiOnRydWV9"><script type="text/javascript" async="" src="./CDT-8.0_files/f(1).txt"></script></head>
|
|
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-CDT_User_NewIn80 skin-solstice action-view" id="solstice"><div class="cc-revoke cc-bottom cc-animate cc-color-override-1434350510" style="">Cookie settings</div><div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window cc-banner cc-type-opt-in cc-theme-block cc-bottom cc-color-override-1434350510 cc-invisible" style="display: none;"><!--googleoff: all--><span id="cookieconsent:desc" class="cc-message">Some Eclipse Foundation pages use cookies to better serve you when you return to the site. You can set your browser to notify you before you receive a cookie or turn off cookies. If you do so, however, some areas of some sites may not function properly. To read Eclipse Foundation Privacy Policy <a aria-label="learn more about cookies" role="button" tabindex="0" class="cc-link" href="https://www.eclipse.org/legal/privacy.php" rel="noopener noreferrer nofollow" target="_blank">click here.</a></span><div class="cc-compliance cc-highlight"><a aria-label="deny cookies" role="button" tabindex="0" class="cc-btn cc-deny">Decline</a><a aria-label="allow cookies" role="button" tabindex="0" class="cc-btn cc-allow">Allow cookies</a></div><!--googleon: all--></div><style type="text/css">html.hs-messages-widget-open.hs-messages-mobile,html.hs-messages-widget-open.hs-messages-mobile body{overflow:hidden!important;position:relative!important}html.hs-messages-widget-open.hs-messages-mobile body{height:100%!important;margin:0!important}#hubspot-messages-iframe-container{display:initial!important;z-index:2147483647;position:fixed!important;bottom:0!important}#hubspot-messages-iframe-container.widget-align-left{left:0!important}#hubspot-messages-iframe-container.widget-align-right{right:0!important}#hubspot-messages-iframe-container.internal{z-index:1016}#hubspot-messages-iframe-container.internal iframe{min-width:108px}#hubspot-messages-iframe-container .shadow-container{display:initial!important;z-index:-1;position:absolute;width:0;height:0;bottom:0;content:""}#hubspot-messages-iframe-container .shadow-container.internal{display:none!important}#hubspot-messages-iframe-container .shadow-container.active{width:400px;height:400px}#hubspot-messages-iframe-container iframe{display:initial!important;width:100%!important;height:100%!important;border:none!important;position:absolute!important;bottom:0!important;right:0!important;background:transparent!important}</style>
|
|
|
|
<a class="sr-only" href="https://wiki.eclipse.org/CDT/User/NewIn80#content">Skip to main content</a>
|
|
<header class="header-wrapper" id="header-wrapper">
|
|
<div class="clearfix toolbar-container-wrapper">
|
|
<div class="container-fluid">
|
|
<div class="text-right toolbar-row row hidden-print">
|
|
<div class="col-md-24 row-toolbar-col">
|
|
<ul class="list-inline">
|
|
<li id="pt-login">
|
|
<a href="https://wiki.eclipse.org/index.php?title=Special:UserLogin&returnto=CDT%2FUser%2FNewIn80" class="toolbar-link toolbar-login">
|
|
<i class="fa fa-sign-in fa-fw"></i> Log in </a>
|
|
</li>
|
|
<li><a class="toolbar-link toolbar-manage-cookies dropdown-toggle"><i class="fa fa-wrench"></i> Manage Cookies</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container-fluid">
|
|
<div class="row" id="header-row">
|
|
<div class="col-sm-5 col-md-4" id="header-left">
|
|
<div class="wrapper-logo-default"><a href="https://www.eclipse.org/"><img class="logo-eclipse-default hidden-xs" alt="Eclipse.org logo" width="160" src="./CDT-8.0_files/eclipse-foundation-white-orange.svg"></a></div>
|
|
</div>
|
|
<div class="col-sm-19 col-md-20 margin-top-10" id="main-menu-wrapper">
|
|
<div class="float-right hidden-xs" id="btn-call-for-action"><a href="https://eclipse.org/downloads/" class="btn btn-huge btn-warning"><i class="fa fa-download"></i> Download</a></div>
|
|
<div class="navbar yamm float-sm-right" id="main-menu">
|
|
<div class="navbar-collapse collapse" id="navbar-main-menu">
|
|
<ul class="nav navbar-nav">
|
|
<li><a href="https://www.eclipse.org/projects/" target="_self">Projects</a></li>
|
|
<li><a href="https://www.eclipse.org/org/workinggroups/" target="_self">Working Groups</a></li>
|
|
<li><a href="https://www.eclipse.org/membership/" target="_self">Members</a></li>
|
|
<li class="dropdown visible-xs">
|
|
<a href="https://wiki.eclipse.org/CDT/User/NewIn80#" data-toggle="dropdown" class="dropdown-toggle">Community <b class="caret"></b></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="http://marketplace.eclipse.org/">Marketplace</a></li>
|
|
<li><a href="http://events.eclipse.org/">Events</a></li>
|
|
<li><a href="http://www.planeteclipse.org/">Planet Eclipse</a></li>
|
|
<li><a href="https://www.eclipse.org/community/eclipse_newsletter/">Newsletter</a></li>
|
|
<li><a href="https://www.youtube.com/user/EclipseFdn">Videos</a></li>
|
|
<li><a href="https://blogs.eclipse.org/">Blogs</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="dropdown visible-xs">
|
|
<a href="https://wiki.eclipse.org/CDT/User/NewIn80#" data-toggle="dropdown" class="dropdown-toggle">Participate <b class="caret"></b></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
|
|
<li><a href="https://www.eclipse.org/forums/">Forums</a></li>
|
|
<li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
|
|
<li><a href="https://wiki.eclipse.org/">Wiki</a></li>
|
|
<li><a href="https://wiki.eclipse.org/IRC">IRC</a></li>
|
|
<li><a href="https://www.eclipse.org/org/research/">Research</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="dropdown visible-xs">
|
|
<a href="https://wiki.eclipse.org/CDT/User/NewIn80#" data-toggle="dropdown" class="dropdown-toggle">Eclipse IDE <b class="caret"></b></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="https://www.eclipse.org/downloads">Download</a></li>
|
|
<li><a href="https://www.eclipse.org/eclipseide">Learn More</a></li>
|
|
<li><a href="https://help.eclipse.org/">Documentation</a></li>
|
|
<li><a href="https://www.eclipse.org/getting_started">Getting Started / Support</a></li>
|
|
<li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
|
|
<li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
|
|
<li><a href="https://www.eclipse.org/forums/index.php/f/89/">Newcomer Forum</a></li>
|
|
</ul>
|
|
</li>
|
|
<!-- More -->
|
|
<li class="dropdown eclipse-more hidden-xs">
|
|
<a data-toggle="dropdown" class="dropdown-toggle" role="button">More<b class="caret"></b></a>
|
|
<ul class="dropdown-menu">
|
|
<li>
|
|
<!-- Content container to add padding -->
|
|
<div class="yamm-content">
|
|
<div class="row">
|
|
<ul class="col-sm-8 list-unstyled">
|
|
<li>
|
|
<p><strong>Community</strong></p>
|
|
</li>
|
|
<li><a href="http://marketplace.eclipse.org/">Marketplace</a></li>
|
|
<li><a href="http://events.eclipse.org/">Events</a></li>
|
|
<li><a href="http://www.planeteclipse.org/">Planet Eclipse</a></li>
|
|
<li><a href="https://www.eclipse.org/community/eclipse_newsletter/">Newsletter</a></li>
|
|
<li><a href="https://www.youtube.com/user/EclipseFdn">Videos</a></li>
|
|
<li><a href="https://blogs.eclipse.org/">Blogs</a></li>
|
|
</ul>
|
|
<ul class="col-sm-8 list-unstyled">
|
|
<li>
|
|
<p><strong>Participate</strong></p>
|
|
</li>
|
|
<li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
|
|
<li><a href="https://www.eclipse.org/forums/">Forums</a></li>
|
|
<li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
|
|
<li><a href="https://wiki.eclipse.org/">Wiki</a></li>
|
|
<li><a href="https://wiki.eclipse.org/IRC">IRC</a></li>
|
|
<li><a href="https://www.eclipse.org/org/research/">Research</a></li>
|
|
</ul>
|
|
<ul class="col-sm-8 list-unstyled">
|
|
<li>
|
|
<p><strong>Eclipse IDE</strong></p>
|
|
</li>
|
|
<li><a href="https://www.eclipse.org/downloads">Download</a></li>
|
|
<li><a href="https://www.eclipse.org/eclipseide">Learn More</a></li>
|
|
<li><a href="https://help.eclipse.org/">Documentation</a></li>
|
|
<li><a href="https://www.eclipse.org/getting_started">Getting Started / Support</a></li>
|
|
<li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
|
|
<li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
|
|
<li><a href="https://www.eclipse.org/forums/index.php/f/89/">Newcomer Forum</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-main-menu">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<div class="wrapper-logo-mobile"><a class="navbar-brand visible-xs" href="https://www.eclipse.org/"><img class="logo-eclipse-default-mobile img-responsive" alt="Eclipse.org logo" width="160" src="./CDT-8.0_files/eclipse-foundation-white-orange.svg"></a></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<section class="default-breadcrumbs hidden-print" id="breadcrumb">
|
|
<div class="container-fluid">
|
|
<h3 class="sr-only">Breadcrumbs</h3>
|
|
<div class="row">
|
|
<div class="col-sm-24">
|
|
<ol class="breadcrumb">
|
|
<li><a href="https://www.eclipse.org/">Home</a></li>
|
|
<li><a href="https://wiki.eclipse.org/Main_Page">Eclipse Wiki</a></li>
|
|
<li class="active">CDT/User/NewIn80</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- /#breadcrumb -->
|
|
<main>
|
|
<div class="container-fluid padding-15 padding-top-20">
|
|
|
|
|
|
<!-- content -->
|
|
<section id="content" class="mw-body container-full clearfix 0">
|
|
<div id="mw-js-message" style="display:none;"></div>
|
|
|
|
|
|
<!-- bodyContent -->
|
|
<div id="bodyContent">
|
|
|
|
|
|
<!-- jumpto -->
|
|
<div id="jump-to-nav" class="mw-jump">
|
|
Jump to: <a href="https://wiki.eclipse.org/CDT/User/NewIn80#mw-head">navigation</a>,
|
|
<a href="https://wiki.eclipse.org/CDT/User/NewIn80#p-search">search</a>
|
|
</div>
|
|
<!-- /jumpto -->
|
|
|
|
<!-- leftcol -->
|
|
<aside class="col-md-4 noprint hidden-print" id="leftcol">
|
|
<form class="input-group" role="form" id="form-eclipse-search" action="https://wiki.eclipse.org/index.php">
|
|
<input id="searchInput" class="search-query form-control" type="search" accesskey="f" title="Special:Search [alt-shift-f]" placeholder="Search" name="search" value="" autocomplete="off">
|
|
|
|
<span class="input-group-btn">
|
|
<button value="search" id="mw-searchButton" type="submit" class="btn btn-default" title="Search the pages for this text" name="fulltext">
|
|
<i class="fa fa-search"></i>
|
|
</button>
|
|
</span>
|
|
</form>
|
|
<select class="form-control margin-top-10 margin-bottom-10 visible-xs visible-sm" onchange="this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);"><option class="fw-700 ">---Navigation---</option><option value="/Main_Page">Main Page</option><option value="/Eclipsepedia:Community_portal">Community portal</option><option value="/Eclipsepedia:Current_events">Current events</option><option value="/Special:RecentChanges">Recent changes</option><option value="/Special:Random">Random page</option><option value="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents">Help</option></select><ul class="ul-left-nav fa-ul hidden-print leftnav hidden-xs hidden-sm"><li class="separator"><span class="separator">Navigation</span></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://wiki.eclipse.org/Main_Page" id="n-mainpage" title="Visit the main page [alt-shift-z]" accesskey="z">Main Page</a></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://wiki.eclipse.org/Eclipsepedia:Community_portal" id="n-portal" title="About the project, what you can do, where to find things">Community portal</a></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://wiki.eclipse.org/Eclipsepedia:Current_events" id="n-currentevents" title="Find background information on current events">Current events</a></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://wiki.eclipse.org/Special:RecentChanges" id="n-recentchanges" title="A list of recent changes in the wiki [alt-shift-r]" accesskey="r">Recent changes</a></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://wiki.eclipse.org/Special:Random" id="n-randompage" title="Load a random page [alt-shift-x]" accesskey="x">Random page</a></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" id="n-help" title="The place to find out">Help</a></li></ul> <select class="form-control margin-top-10 margin-bottom-10 visible-xs visible-sm" onchange="this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);"><option class="fw-700 ">---Toolbox---</option><option value="/index.php?title=CDT/User/NewIn80&action=info">Page information</option><option value="/index.php?title=CDT/User/NewIn80&oldid=376028">Permanent link</option><option value="/index.php?title=CDT/User/NewIn80&printable=yes">Printable version</option><option value="/Special:SpecialPages">Special pages</option><option value="/Special:RecentChangesLinked/CDT/User/NewIn80">Related changes</option><option value="/Special:WhatLinksHere/CDT/User/NewIn80">What links here</option></select><ul class="ul-left-nav fa-ul hidden-print leftnav hidden-xs hidden-sm"><li class="separator"><span class="separator">Toolbox</span></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://wiki.eclipse.org/index.php?title=CDT/User/NewIn80&action=info" id="t-info" title="More information about this page">Page information</a></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://wiki.eclipse.org/index.php?title=CDT/User/NewIn80&oldid=376028" id="t-permalink" title="Permanent link to this revision of the page">Permanent link</a></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://wiki.eclipse.org/index.php?title=CDT/User/NewIn80&printable=yes" id="t-print" rel="alternate" title="Printable version of this page [alt-shift-p]" accesskey="p">Printable version</a></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://wiki.eclipse.org/Special:SpecialPages" id="t-specialpages" title="A list of all special pages [alt-shift-q]" accesskey="q">Special pages</a></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://wiki.eclipse.org/Special:RecentChangesLinked/CDT/User/NewIn80" id="t-recentchangeslinked" title="Recent changes in pages linked from this page [alt-shift-k]" accesskey="k">Related changes</a></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://wiki.eclipse.org/Special:WhatLinksHere/CDT/User/NewIn80" id="t-whatlinkshere" title="A list of all wiki pages that link here [alt-shift-j]" accesskey="j">What links here</a></li></ul> </aside>
|
|
<!-- /leftcol -->
|
|
|
|
<!-- mainContent -->
|
|
<div id="mainContent" class="col-md-20">
|
|
<ul class="nav nav-tabs noprint hidden-print" role="tablist">
|
|
<li id="ca-nstab-main" class="active"><a href="https://wiki.eclipse.org/CDT/User/NewIn80" title="View the content page [alt-shift-c]" accesskey="c" tabindex="-1">Page</a></li>
|
|
<li id="ca-talk" class="new"><a href="https://wiki.eclipse.org/index.php?title=Talk:CDT/User/NewIn80&action=edit&redlink=1" title="Discussion about the content page [alt-shift-t]" accesskey="t" tabindex="-1">Discussion</a></li>
|
|
<li id="ca-viewsource"><a href="https://wiki.eclipse.org/index.php?title=CDT/User/NewIn80&action=edit" title="This page is protected.
|
|
You can view its source [alt-shift-e]" accesskey="e" tabindex="-1">View source</a></li>
|
|
<li id="ca-history" class="collapsible"><a href="https://wiki.eclipse.org/index.php?title=CDT/User/NewIn80&action=history" title="Past revisions of this page [alt-shift-h]" accesskey="h" tabindex="-1">History</a></li>
|
|
</ul> <div class="tab-content background-white">
|
|
<div id="tab-pane-main-page-content" class="tab-pane active">
|
|
|
|
|
|
<h1 id="firstHeading" class="firstHeading page-header">
|
|
<span dir="auto">CDT/User/NewIn80</span>
|
|
</h1>
|
|
<div id="main-page-content">
|
|
<!-- subtitle -->
|
|
<div id="contentSub" class="alert alert-small alert-warning"><span class="subpages">< <a href="https://wiki.eclipse.org/CDT" title="CDT">CDT</a></span></div>
|
|
<!-- /subtitle -->
|
|
|
|
|
|
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2><span class="toctoggle"> [<a href="https://wiki.eclipse.org/CDT/User/NewIn80#" id="togglelink">hide</a>] </span></div>
|
|
<ul>
|
|
<li class="toclevel-1 tocsection-1"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Editor"><span class="tocnumber">1</span> <span class="toctext">Editor</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-2"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Override_Markers"><span class="tocnumber">1.1</span> <span class="toctext">Override Markers</span></a></li>
|
|
<li class="toclevel-2 tocsection-3"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Selection_Expansion"><span class="tocnumber">1.2</span> <span class="toctext">Selection Expansion</span></a></li>
|
|
<li class="toclevel-2 tocsection-4"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Camel_Case_Completion"><span class="tocnumber">1.3</span> <span class="toctext">Camel Case Completion</span></a></li>
|
|
<li class="toclevel-2 tocsection-5"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Configurable_Name_Style"><span class="tocnumber">1.4</span> <span class="toctext">Configurable Name Style</span></a></li>
|
|
<li class="toclevel-2 tocsection-6"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#New_Code_Formatting_Options"><span class="tocnumber">1.5</span> <span class="toctext">New Code Formatting Options</span></a></li>
|
|
<li class="toclevel-2 tocsection-7"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#New_Code_Templates"><span class="tocnumber">1.6</span> <span class="toctext">New Code Templates</span></a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-8"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Code_Analysis_.28Codan.29"><span class="tocnumber">2</span> <span class="toctext">Code Analysis (Codan)</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-9"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Error_Markers_for_Unresolved_Symbols"><span class="tocnumber">2.1</span> <span class="toctext">Error Markers for Unresolved Symbols</span></a></li>
|
|
<li class="toclevel-2 tocsection-10"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#New_checkers_added"><span class="tocnumber">2.2</span> <span class="toctext">New checkers added</span></a></li>
|
|
<li class="toclevel-2 tocsection-11"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#New_icons_for_editor_for_codan_problems"><span class="tocnumber">2.3</span> <span class="toctext">New icons for editor for codan problems</span></a></li>
|
|
<li class="toclevel-2 tocsection-12"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Run_code_analysis_on_folders"><span class="tocnumber">2.4</span> <span class="toctext">Run code analysis on folders</span></a></li>
|
|
<li class="toclevel-2 tocsection-13"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Scope_filters"><span class="tocnumber">2.5</span> <span class="toctext">Scope filters</span></a></li>
|
|
<li class="toclevel-2 tocsection-14"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Mass_editing_of_problems"><span class="tocnumber">2.6</span> <span class="toctext">Mass editing of problems</span></a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-15"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Refactoring"><span class="tocnumber">3</span> <span class="toctext">Refactoring</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-16"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Rename_Refactoring_as_Quick_Fix"><span class="tocnumber">3.1</span> <span class="toctext">Rename Refactoring as Quick Fix</span></a></li>
|
|
<li class="toclevel-2 tocsection-17"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Lightweight_Rename_Refactoring"><span class="tocnumber">3.2</span> <span class="toctext">Lightweight Rename Refactoring</span></a></li>
|
|
<li class="toclevel-2 tocsection-18"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Toggle_Function_Definition"><span class="tocnumber">3.3</span> <span class="toctext">Toggle Function Definition</span></a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-19"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Build"><span class="tocnumber">4</span> <span class="toctext">Build</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-20"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Console"><span class="tocnumber">4.1</span> <span class="toctext">Console</span></a></li>
|
|
<li class="toclevel-2 tocsection-21"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Error_Parsers"><span class="tocnumber">4.2</span> <span class="toctext">Error Parsers</span></a></li>
|
|
<li class="toclevel-2 tocsection-22"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Make_Targets"><span class="tocnumber">4.3</span> <span class="toctext">Make Targets</span></a></li>
|
|
<li class="toclevel-2 tocsection-23"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Managed_Build"><span class="tocnumber">4.4</span> <span class="toctext">Managed Build</span></a></li>
|
|
<li class="toclevel-2 tocsection-24"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Scanner_Discovery"><span class="tocnumber">4.5</span> <span class="toctext">Scanner Discovery</span></a></li>
|
|
<li class="toclevel-2 tocsection-25"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Configurable_Refresh"><span class="tocnumber">4.6</span> <span class="toctext">Configurable Refresh</span></a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-26"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Debug"><span class="tocnumber">5</span> <span class="toctext">Debug</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-27"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Project-less_debugging"><span class="tocnumber">5.1</span> <span class="toctext">Project-less debugging</span></a></li>
|
|
<li class="toclevel-2 tocsection-28"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Support_for_full_pretty-printing_of_complex_structures"><span class="tocnumber">5.2</span> <span class="toctext">Support for full pretty-printing of complex structures</span></a></li>
|
|
<li class="toclevel-2 tocsection-29"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Support_for_pending_breakpoints"><span class="tocnumber">5.3</span> <span class="toctext">Support for pending breakpoints</span></a></li>
|
|
<li class="toclevel-2 tocsection-30"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Showing_cores_in_Debug_view_labels"><span class="tocnumber">5.4</span> <span class="toctext">Showing cores in Debug view labels</span></a></li>
|
|
<li class="toclevel-2 tocsection-31"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Showing_cores_and_owner_in_attach_prompter"><span class="tocnumber">5.5</span> <span class="toctext">Showing cores and owner in attach prompter</span></a></li>
|
|
<li class="toclevel-2 tocsection-32"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Pin_.26_Clone"><span class="tocnumber">5.6</span> <span class="toctext">Pin & Clone</span></a></li>
|
|
<li class="toclevel-2 tocsection-33"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Multi-process_Debugging"><span class="tocnumber">5.7</span> <span class="toctext">Multi-process Debugging</span></a></li>
|
|
<li class="toclevel-2 tocsection-34"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#C.2FC.2B.2B_Remote_Application_launch"><span class="tocnumber">5.8</span> <span class="toctext">C/C++ Remote Application launch</span></a></li>
|
|
<li class="toclevel-2 tocsection-35"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#New_set_of_preferences"><span class="tocnumber">5.9</span> <span class="toctext">New set of preferences</span></a></li>
|
|
<li class="toclevel-2 tocsection-36"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Non-stop_attach_does_not_interrupt_the_process"><span class="tocnumber">5.10</span> <span class="toctext">Non-stop attach does not interrupt the process</span></a></li>
|
|
<li class="toclevel-2 tocsection-37"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Extra_node_for_debugged_process_no_longer_shown"><span class="tocnumber">5.11</span> <span class="toctext">Extra node for debugged process no longer shown</span></a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-38"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#API_Changes_and_Migration_to_CDT_8.0"><span class="tocnumber">6</span> <span class="toctext">API Changes and Migration to CDT 8.0</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-39"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#General"><span class="tocnumber">6.1</span> <span class="toctext">General</span></a></li>
|
|
<li class="toclevel-2 tocsection-40"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#DSF-GDB"><span class="tocnumber">6.2</span> <span class="toctext">DSF-GDB</span></a></li>
|
|
<li class="toclevel-2 tocsection-41"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Codan"><span class="tocnumber">6.3</span> <span class="toctext">Codan</span></a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-42"><a href="https://wiki.eclipse.org/CDT/User/NewIn80#Bugs_Fixed_in_this_Release"><span class="tocnumber">7</span> <span class="toctext">Bugs Fixed in this Release</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<h2><span class="mw-headline" id="Editor">Editor</span></h2>
|
|
<h3><span class="mw-headline" id="Override_Markers">Override Markers</span></h3>
|
|
<p>In C++ files, method declarations and definitions are annotated on the vertical bar using three types of symbols:
|
|
</p>
|
|
<ul><li>Override (<i>green triangle</i>) indicating that a virtual method in one of base classes is overridden, </li>
|
|
<li>Implement (<i>empty blue triangle</i>) indicating that a pure virtual (abstract) method in one of base classes is overridden, </li>
|
|
<li>Shadow (<i>dark blue triangle</i>) indicating that a method in one of base classes <i>with the same paremeter set</i> is shadowed.</li></ul>
|
|
<p><a href="https://wiki.eclipse.org/File:CDTOverrideMarkers.png" class="image"><img alt="CDTOverrideMarkers.png" src="./CDT-8.0_files/CDTOverrideMarkers.png" width="293" height="154"></a>
|
|
</p><p>As in JDT, the annotations have the action which allows to go to the declaration in base.
|
|
</p><p>In case of multiple inheritance, the messages also contain the name of <i>direct</i> base class of the overriding method's class if the overrided method's class is further up the inheritance hierarchy.
|
|
</p><p>Contrary to JDT, several messages are sometimes generated on one marker (e.g. when the same method is overridden through several base classes).
|
|
</p>
|
|
<h3><span class="mw-headline" id="Selection_Expansion">Selection Expansion</span></h3>
|
|
<p>The C++ editor now allows to expand the selection to enclosing, next and previous nodes of the AST, as well as restore the hierarchy.
|
|
</p><p><a href="https://wiki.eclipse.org/File:CDTExpandSelection.png" class="image"><img alt="CDTExpandSelection.png" src="./CDT-8.0_files/CDTExpandSelection.png" width="772" height="236"></a>
|
|
</p><p>The behaviour is strictly analogous to JDT and the actions are located in "Edit -> Expand Selection To" menu.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Camel_Case_Completion">Camel Case Completion</span></h3>
|
|
<p>The C/C++ now supports camel case completion similar to the one of the JDT. The following additional features are available:
|
|
</p>
|
|
<ul><li>underscore notation (I): <code>FB</code> matches <code>FooBar</code> as well as <code>FOO_BAR</code> or <code>Foo_Bar</code> </li>
|
|
<li>underscore notation (II): you can also type the underscore in the text, in which case matches are explicitly required to contain the underscore. <code>F_B</code> matches <code>FOO_BAR</code>, but not <code>FooBar</code>. </li>
|
|
<li>you don't need to specify all segments: It is OK to omit segments (not the first, however): <code>OTh</code> matches <code>OneTwoThree</code>, even though no characters for <code>Two</code> are specified. </li>
|
|
<li>a segment in the matching name can consist of only upper case letters: <code>IOT</code> matches <code>IONETWO</code>.</li></ul>
|
|
<p><a href="https://wiki.eclipse.org/File:CDTCamelCaseCompletionDemo.png" class="image"><img alt="CDTCamelCaseCompletionDemo.png" src="./CDT-8.0_files/CDTCamelCaseCompletionDemo.png" width="468" height="272"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="Configurable_Name_Style">Configurable Name Style</span></h3>
|
|
<p>User-configurable name styles for constants, variables, class fields, getters and setters, and for header, source and test files.
|
|
</p><p><a href="https://wiki.eclipse.org/File:NameStyle.png" class="image"><img alt="NameStyle.png" src="./CDT-8.0_files/NameStyle.png" width="636" height="671"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="New_Code_Formatting_Options">New Code Formatting Options</span></h3>
|
|
<p>New options for formatting of constructor initializer lists, stream output expressions, and inline comments. Numerous improvements to the code formatter.
|
|
</p><p><a href="https://wiki.eclipse.org/File:CodeStyle.png" class="image"><img alt="CodeStyle.png" src="./CDT-8.0_files/CodeStyle.png" width="750" height="611"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="New_Code_Templates">New Code Templates</span></h3>
|
|
<p>New code templates for namespace and class declarations and for C++ test files.
|
|
</p><p><a href="https://wiki.eclipse.org/File:CodeTemplates.png" class="image"><img alt="CodeTemplates.png" src="./CDT-8.0_files/CodeTemplates.png" width="637" height="671"></a>
|
|
</p><p><br>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Code_Analysis_.28Codan.29">Code Analysis (Codan)</span></h2>
|
|
<h3><span class="mw-headline" id="Error_Markers_for_Unresolved_Symbols">Error Markers for Unresolved Symbols</span></h3>
|
|
<p>Codan now has a checker which generates Problems on instances of ProblemBindings in AST, generated by the Parser. This allows to reveal many errors while typing.
|
|
</p><p><a href="https://wiki.eclipse.org/File:SemanticProblems.png" class="image"><img alt="SemanticProblems.png" src="./CDT-8.0_files/SemanticProblems.png" width="396" height="404"></a>
|
|
</p><p><br>
|
|
Quick fixes are provided for a subset of problems. As for now, the available fixes are:
|
|
</p>
|
|
<ul><li>Name resolution problem:
|
|
<ul><li>Create Local Variable </li>
|
|
<li>Create Field </li>
|
|
<li>Create Parameter</li></ul></li></ul>
|
|
<p><a href="https://wiki.eclipse.org/File:CDTNameResolutionFix.png" class="image"><img alt="CDTNameResolutionFix.png" src="./CDT-8.0_files/CDTNameResolutionFix.png" width="780" height="189"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="New_checkers_added">New checkers added</span></h3>
|
|
<ul><li> Bug 343429: Checker to pinpoint unused static functions in a file</li>
|
|
<li> Bug 329497: Checker for "no break at end of case"</li>
|
|
<li> Bug 326269: Checker for instantiation of an abstract class</li>
|
|
<li> Bug 322119: Suspicious semicolon (i.e. ";" after "if")</li>
|
|
<li> Bug 321471: Return statement style (i.e. return (0))</li>
|
|
<li> Bug 320187: Checker for detecting format string vulnerabilities</li>
|
|
<li> Bug 314576: Checker for variable self-assignment, (i.e. a=a)</li></ul>
|
|
<h3><span class="mw-headline" id="New_icons_for_editor_for_codan_problems">New icons for editor for codan problems</span></h3>
|
|
<p>Bug 329430. Codan now uses different icons for problems, so people do not confuse codan errors and parser errors
|
|
</p><p><a href="https://wiki.eclipse.org/File:Decorators.png" class="image"><img alt="Decorators.png" src="./CDT-8.0_files/Decorators.png" width="218" height="110"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="Run_code_analysis_on_folders">Run code analysis on folders</span></h3>
|
|
<p>Bug 325669: Now you can run code analysis not only on selected project, but on folder or file (using context menu)
|
|
</p>
|
|
<h3><span class="mw-headline" id="Scope_filters">Scope filters</span></h3>
|
|
<p>You can customize each checkers or multiple checkers to exclude or include specific files.
|
|
</p><p><a href="https://wiki.eclipse.org/File:FileScope.png" class="image"><img alt="FileScope.png" src="./CDT-8.0_files/FileScope.png" width="533" height="564"></a>
|
|
</p><p>Also you can include or exclude checker to run in specific mode, i.e. some checker would run on with build, and some
|
|
only when you edit code.
|
|
</p><p><a href="https://wiki.eclipse.org/File:LaunchScope.png" class="image"><img alt="LaunchScope.png" src="./CDT-8.0_files/LaunchScope.png" width="531" height="321"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="Mass_editing_of_problems">Mass editing of problems</span></h3>
|
|
<p>You can edit multiple problems at once (for example enable group of problems, or change severity, or scope)
|
|
</p>
|
|
<h2><span class="mw-headline" id="Refactoring">Refactoring</span></h2>
|
|
<h3><span class="mw-headline" id="Rename_Refactoring_as_Quick_Fix">Rename Refactoring as Quick Fix</span></h3>
|
|
<p><i>Rename in workspace</i> option in quick fix.
|
|
</p><p><a href="https://wiki.eclipse.org/File:RenameInWorkspace.png" class="image"><img alt="RenameInWorkspace.png" src="./CDT-8.0_files/RenameInWorkspace.png" width="760" height="195"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="Lightweight_Rename_Refactoring">Lightweight Rename Refactoring</span></h3>
|
|
<p>JDT-style rename refactoring.
|
|
</p><p><a href="https://wiki.eclipse.org/File:RenameRefactoring.png" class="image"><img alt="RenameRefactoring.png" src="./CDT-8.0_files/RenameRefactoring.png" width="452" height="181"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="Toggle_Function_Definition">Toggle Function Definition</span></h3>
|
|
<p>Toggle Function Definition moves a function definition inside an C/C++ source editor from one
|
|
position to another and preserves correctness.
|
|
</p><p><a href="https://wiki.eclipse.org/File:Cdt_t_toggle_member.png" class="image"><img alt="Cdt t toggle member.png" src="./CDT-8.0_files/Cdt_t_toggle_member.png" width="400" height="159"></a>
|
|
</p><p><br>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Build">Build</span></h2>
|
|
<h3><span class="mw-headline" id="Console">Console</span></h3>
|
|
<ul><li>The "C-Build console" is now named "CDT Build Console" </li>
|
|
<li>It is now possible to open the CDT Build Console before performing a build. See <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/320765">bug 320765</a>. Note that operations on the console will require the user to first select a project. The below screenshot shows the new access to the CDT Build Console.</li></ul>
|
|
<p><a href="https://wiki.eclipse.org/File:CDTConsoleStart.jpg" class="image"><img alt="CDTConsoleStart.jpg" src="./CDT-8.0_files/CDTConsoleStart.jpg" width="370" height="250"></a>
|
|
</p>
|
|
<ul><li>"CDT Global Build Console" got introduced. This console combines output from all referenced projects being built in one view. See <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/309113">bug 309113</a>.</li></ul>
|
|
<p><a href="https://wiki.eclipse.org/File:CDTGlobalBuildConsole.jpg" class="image"><img alt="CDTGlobalBuildConsole.jpg" src="./CDT-8.0_files/CDTGlobalBuildConsole.jpg" width="532" height="336"></a>
|
|
</p>
|
|
<ul><li>Differentiate color highlighting in build output for error, warning and info problem markers. See <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/307211">bug 307211</a>.</li></ul>
|
|
<p><a href="https://wiki.eclipse.org/File:Bug_307211.png" class="image"><img alt="Bug 307211.png" src="./CDT-8.0_files/Bug_307211.png" width="802" height="260"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="Error_Parsers">Error Parsers</span></h3>
|
|
<ul><li>Added ability to reset individual error parsers in preferences. Also icons to indicate status, such as "user", "extension" icons and "wrench" overlay for customized parsers, <a rel="nofollow" class="external text" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302720">bug 302720</a>.</li></ul>
|
|
<p><a href="https://wiki.eclipse.org/File:Bug-302720-ResetErrorParser.png" class="image"><img alt="Bug-302720-ResetErrorParser.png" src="./CDT-8.0_files/Bug-302720-ResetErrorParser.png" width="1071" height="545"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="Make_Targets">Make Targets</span></h3>
|
|
<ul><li>Rebuild Last Target F9 got a new option in preferences - to rebuild last target from a whole project including subfolders. This preference is the default now. <a rel="nofollow" class="external text" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333113">bug 333113</a>.</li></ul>
|
|
<p><a href="https://wiki.eclipse.org/File:Bug-333113-LastMakeTarget.png" class="image"><img alt="Bug-333113-LastMakeTarget.png" src="./CDT-8.0_files/Bug-333113-LastMakeTarget.png" width="636" height="335"></a>
|
|
</p>
|
|
<ul><li>Source folders are shown in collapsed form now in Make Targets View, similarly as they are shown in Project Explorer. <a rel="nofollow" class="external text" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339015">bug 339015</a>.</li></ul>
|
|
<p><a href="https://wiki.eclipse.org/File:Bug-339015-MakeTargetView-SrcRoots.png" class="image"><img alt="Bug-339015-MakeTargetView-SrcRoots.png" src="./CDT-8.0_files/Bug-339015-MakeTargetView-SrcRoots.png" width="874" height="495"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="Managed_Build">Managed Build</span></h3>
|
|
<ul><li>By default, there will be a space added after "-o" option and its value in compiler/linker commands in the generated makefiles. That stands for other applicable options as well. See <a rel="nofollow" class="external text" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=232373">bug 232373</a>.</li></ul>
|
|
<pre>g++ -o "Hello.exe" ./src/Hello.o
|
|
</pre>
|
|
<h3><span class="mw-headline" id="Scanner_Discovery">Scanner Discovery</span></h3>
|
|
<ul><li>It is possible now to clear old built-in include paths and symbols left after compiler upgrade in Paths&Symbols in project properties. The "Clean" button was introduced on "Scanner Discovery" page. See <a rel="nofollow" class="external text" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=206372">bug 206372</a>. </li>
|
|
<li>You can now inspect the output of command to collect built-in compiler include paths and symbols, <a rel="nofollow" class="external text" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342069">bug 342069</a>.</li></ul>
|
|
<p><a href="https://wiki.eclipse.org/File:DiscoveryTab.png" class="image"><img alt="DiscoveryTab.png" src="./CDT-8.0_files/DiscoveryTab.png" width="1018" height="748"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="Configurable_Refresh">Configurable Refresh</span></h3>
|
|
<ul><li>Automatic refresh that happens after a build can now be configured and folders in the project can be refreshed selectively. See <a rel="nofollow" class="external text" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=133881">bug 133881</a> <a rel="nofollow" class="external text" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=278257">278257</a></li></ul>
|
|
<p><a href="https://wiki.eclipse.org/File:RefreshPolicyTab.png" class="image"><img alt="RefreshPolicyTab.png" src="./CDT-8.0_files/RefreshPolicyTab.png" width="1021" height="533"></a>
|
|
<br>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Debug">Debug</span></h2>
|
|
<h3><span class="mw-headline" id="Project-less_debugging">Project-less debugging</span></h3>
|
|
<p>CDT can now be used to debug any binary, without needing to specify or even create a project in Eclipse. This is supported for all types of debugging (local, remote, attach, and post-mortem sessions).
|
|
</p><p>Furthermore, for an attach session (local or remote), there is even no need to specify the binary; for a local attach, GDB can find the binary automatically, while for a remote attach, CDT will prompt for it when it needs it.
|
|
</p><p><a href="https://wiki.eclipse.org/File:Noprojectdebug.png" class="image"><img alt="Noprojectdebug.png" src="./CDT-8.0_files/Noprojectdebug.png" width="803" height="625"></a>
|
|
</p><p>This feature was completed through <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/343861">Bug 343861</a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="Support_for_full_pretty-printing_of_complex_structures">Support for full pretty-printing of complex structures</span></h3>
|
|
<p>With the proper setup of GDB, DSF-GDB will now print complex structures such as Maps, Lists and Vectors, in a user-friendly fashion, within the Variables and Expressions views, as well as the advanced Debug hover of the Editor. See below on how to setup GDB for this feature to work.
|
|
</p><p><br> <b>Without pretty-printing:</b>
|
|
</p><p><a href="https://wiki.eclipse.org/File:NoPrettyPrint.png" class="image"><img alt="NoPrettyPrint.png" src="./CDT-8.0_files/NoPrettyPrint.png" width="762" height="434"></a>
|
|
</p><p><br> <b>With pretty-printing:</b>
|
|
</p><p><a href="https://wiki.eclipse.org/File:FullPrettyPrint.png" class="image"><img alt="FullPrettyPrint.png" src="./CDT-8.0_files/FullPrettyPrint.png" width="762" height="434"></a>
|
|
</p><p><br> This feature has been contributed by Jens Elmenthaler to CDT 8.0 through <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/302121">Bug 302121</a>
|
|
</p><p><br> <b>Configuring GDB for pretty-printing:</b>
|
|
</p>
|
|
<ul><li>You will need to have python installed on your machine</li></ul>
|
|
<ul><li>If you want to pretty-print STL structures, you will need the Python pretty-printers for STL. Check-out the latest Python libstdc++ printers to a place on your machine. (Note that you can create your own pretty-printers for any complex-structure). In a local directory, do:</li></ul>
|
|
<pre> svn co <a rel="nofollow" class="external free" href="svn://gcc.gnu.org/svn/gcc/trunk/libstdc++-v3/python">svn://gcc.gnu.org/svn/gcc/trunk/libstdc++-v3/python</a>
|
|
</pre>
|
|
<ul><li>You will need to create a gdbinit file to tell GDB where the pretty-printers are. Create a gdbinit file with the following 6 lines. The path needs to match where the python module above was checked-out. So if checked out to: /home/marc/gdb_printers/, the path would be as written in the example:</li></ul>
|
|
<pre> python
|
|
import sys
|
|
sys.path.insert(0, '/home/marc/gdb_printers/python')
|
|
from libstdcxx.v6.printers import register_libstdcxx_printers
|
|
register_libstdcxx_printers (None)
|
|
end
|
|
</pre>
|
|
<ul><li>You will need GDB 7.0 or later. GDB 7.2 is recommended because it has some bug fixes for the pretty-printing.</li></ul>
|
|
<ul><li>In your DSF-GDB launch, make sure you use the right GDB and the right gdbinit file</li></ul>
|
|
<h3><span class="mw-headline" id="Support_for_pending_breakpoints">Support for pending breakpoints</span></h3>
|
|
<p>When a breakpoint is set in a dynamically-linked library that was not loaded yet, the breakpoint will now work, once the library is loaded. See <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/248595">bug 248595</a>. This feature is currently only supported when using GDB 6.8 or later.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Showing_cores_in_Debug_view_labels">Showing cores in Debug view labels</span></h3>
|
|
<p>By using the enhancements of GDB 7.1, DSF-GDB now shows the core on which each thread runs as an extra part of the Debug View label. The list of all cores on which a process is located is also added as a label. The below image shows the new feature.
|
|
</p><p><a href="https://wiki.eclipse.org/File:CoreLabels.png" class="image"><img alt="CoreLabels.png" src="./CDT-8.0_files/CoreLabels.png" width="696" height="295"></a>
|
|
</p><p>This feature has been implemented for CDT 8.0 through <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/318230">Bug 318230</a>. The feature will be enabled automatically as long as GDB 7.1 or greater is used.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Showing_cores_and_owner_in_attach_prompter">Showing cores and owner in attach prompter</span></h3>
|
|
<p>DSF-GDB now shows the owner of a process as an extra part of the process prompt for an attach session. The owner id will be shown starting with GDB 7.0. For a Remote attach session (using gdbserver --multi), the cores on which a process is located will also be shown. Showing the cores starts with GDB 7.1. The below image shows the new feature.
|
|
</p><p><a href="https://wiki.eclipse.org/File:UserAndCores.jpg" class="image"><img alt="UserAndCores.jpg" src="./CDT-8.0_files/UserAndCores.jpg" width="862" height="584"></a>
|
|
</p><p>This feature has been implemented for CDT 8.0 through <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/318230#21">Bug 318230 comment 21</a>. The feature will be enabled automatically as long as the proper version of GDB is used.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Pin_.26_Clone">Pin & Clone</span></h3>
|
|
<p>Variables, Expressions, Registers, Disassembly, and Memory Browser now supports opening multiple instances, and pin the view input to the selected debug context(s) in the Debug view. This can be used, for example, to easily compare the data of different threads.
|
|
</p><p><a href="https://wiki.eclipse.org/File:PinCloneDebug.png" class="image"><img alt="PinCloneDebug.png" src="./CDT-8.0_files/PinCloneDebug.png" width="900" height="452"></a>
|
|
</p><p>This feature has been implemented for CDT 8.0 through <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=327263">Bug 327263</a>, <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=331781">Bug 331781</a>, and <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=334566">Bug 334566</a>.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Multi-process_Debugging">Multi-process Debugging</span></h3>
|
|
<p>CDT now supports debugging multiple processes in a single debug session. It allows to attach/detach and start/stop processes repeatedly and easily.
|
|
</p><p>Requirements:
|
|
</p>
|
|
<ul><li>GDB 7.2 or greater </li>
|
|
<li>Currently, only Non-Stop debugging sessions support multiple processes. </li>
|
|
<li>Note that this feature was developed and tested on Linux systems, and may not work on Windows.</li></ul>
|
|
<p>To use multi-process debugging, simply launch an application as you normally would, locally or remotely, using gdbserver, and make sure to select Non-stop mode in the Debugger tab. Then, use the Debug View's "Connect" button to trigger a dialog with allows you to either attach to a running process, or to create a new process using the "New..." button. Currently, the "New..." button is only supported for Local debug sessions.
|
|
</p><p><a href="https://wiki.eclipse.org/File:MultiAttachDialog.png" class="image"><img alt="MultiAttachDialog.png" src="./CDT-8.0_files/MultiAttachDialog.png" width="600" height="459"></a>
|
|
</p><p><br>
|
|
</p><p>You will then have the newly selected process added to your debug session, where you can control it and examine it. You can use the "Disconnect" button to remove processes from your debug session, or you can use the "Connect" button to add new ones.
|
|
</p><p><a href="https://wiki.eclipse.org/File:MultiProducerConsumer.png" class="image"><img alt="MultiProducerConsumer.png" src="./CDT-8.0_files/MultiProducerConsumer.png" width="500" height="412"></a>
|
|
</p><p><br>
|
|
</p><p>An option to automatically attach to a forked process is also available. This means that whenever any process you are currently debugging forks a new process, that new process will be added to your debug session.
|
|
</p><p><br> <a href="https://wiki.eclipse.org/File:AutoAttachOption.png" class="image"><img alt="AutoAttachOption.png" src="./CDT-8.0_files/AutoAttachOption.png" width="700" height="511"></a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="C.2FC.2B.2B_Remote_Application_launch">C/C++ Remote Application launch</span></h3>
|
|
<p>The optional "C/C++ Remote Application" launch configuration type has been made permanent for CDT.
|
|
</p><p><a href="https://wiki.eclipse.org/File:Debugconfig.jpg" class="image"><img alt="Debugconfig.jpg" src="./CDT-8.0_files/Debugconfig.jpg" width="477" height="337"></a>
|
|
</p><p>The "GDB (DSF) Remote System Process" launch delegate has been renamed to "GDB (DSF) Manual Remote Debugging" and has been moved from "C/C++ Application" to "C/C++ Remote Application". As was the case for CDT 7.0, the optional RSE Remote Launch delegate of org.eclipse.cdt.launch.remote, is still part of "C/C++ Remote Application".
|
|
</p><p>This optional remote launch now provides a new DSF-GDB-based launch delegate called "GDB (DSF) Automatic Remote Debugging". This launch is very similar to the existing "GDB (DSF) Manual Remote Debugging" delegate, except that the automatic one will automatically download the application to the remote target and start gdbserver with the application.
|
|
</p><p><a href="https://wiki.eclipse.org/File:RemoteDelegates.jpg" class="image"><img alt="RemoteDelegates.jpg" src="./CDT-8.0_files/RemoteDelegates.jpg" width="432" height="502"></a>
|
|
</p><p>By default, the user will be shown the "GDB (DSF) Manual Remote Debugging". However, if the optional feature of Remote Launch is installed, the default will automatically become the more feature-rich "GDB (DSF) Automatic Remote Debugging".
|
|
</p><p>Finally, the run-mode RSE Remote Launch delegate no longer shows the Debugger or Source tabs, since they were not relevant, in run-mode.
|
|
</p>
|
|
<h3><span class="mw-headline" id="New_set_of_preferences">New set of preferences</span></h3>
|
|
<p>A set of new preferences have been added to <i>Preferences->C/C++->Debug->GDB</i> to allow users to have a better debugging experience.
|
|
</p><p><b>Note:</b> after a new workspace is created, this debug preferences page will only be visible once the first debug session is started.
|
|
</p><p>These new preference are:
|
|
</p>
|
|
<ul><li>Default GDB path and initialization file: default path for the location of GDB as well as for the GDB initialization file. </li>
|
|
<li>Default behavior for <i>Stop on startup</i>: default behavior to stop the execution on startup, and on what symbol. </li>
|
|
<li>Default Non-stop mode: default behavior to automatically enable non-stop mode or not. Non-stop mode allows to control the execution of threads and processes independently. </li>
|
|
<li>Default limit for GDB Traces: limits the amount of traces printed on the <i>gdb traces</i> console </li>
|
|
<li>Default enabling of pretty-printing: assuming a pretty-printing enabled GDB, automatically enabled pretty-printing in CDT </li>
|
|
<li>Default child limit for pretty-printing: default to control the amount of children automatically shown by a pretty-printer</li></ul>
|
|
<p><br> <a href="https://wiki.eclipse.org/File:DefaultGdbPreference.png" class="image"><img alt="DefaultGdbPreference.png" src="./CDT-8.0_files/DefaultGdbPreference.png" width="472" height="572"></a>
|
|
</p><p><br> The values of most of these preferences will be used to populate the corresponding entries of the Debugger tab, whenever a new launch is created.
|
|
</p><p><br> <a href="https://wiki.eclipse.org/File:LaunchDefaultGdb.png" class="image"><img alt="LaunchDefaultGdb.png" src="./CDT-8.0_files/LaunchDefaultGdb.png" width="575" height="397"></a>
|
|
</p><p><br> This feature has been implemented for CDT 8.0 as as part of <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/120162">Bug 120162</a>, <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/347245">Bug 347245</a> and <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/335895">Bug 335895</a>.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Non-stop_attach_does_not_interrupt_the_process">Non-stop attach does not interrupt the process</span></h3>
|
|
<p>As part of <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/333284">Bug 333284</a> attaching to a process in non-stop mode will no longer interrupt the process.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Extra_node_for_debugged_process_no_longer_shown">Extra node for debugged process no longer shown</span></h3>
|
|
<p>The debugged process extra launch node has been removed from the Debug view. This node was felt to waste space, especially when dealing with multi-process debugging as we would have needed many of them. The Debug view already shows the debugged process as a container of threads, right below the launch node.
|
|
</p><p><a href="https://wiki.eclipse.org/File:WithInferior.png" class="image"><img alt="WithInferior.png" src="./CDT-8.0_files/WithInferior.png" width="650" height="247"></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="API_Changes_and_Migration_to_CDT_8.0">API Changes and Migration to CDT 8.0</span></h2>
|
|
<p>The changes affecting compatibility are listed here. Keep in mind that this list likely does not list all the issues, only some of them.
|
|
</p><p><br>
|
|
</p>
|
|
<h3><span class="mw-headline" id="General">General</span></h3>
|
|
<ol><li>Deprecated class org.eclipse.core.runtime.PluginVersionIdentifier has been changed to use org.osgi.framework.Version. See <a rel="nofollow" class="external text" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318581">bug 318581</a>
|
|
<ul><li>Affected packages: org.eclipse.cdt.managedbuilder.*. </li></ul></li>
|
|
<li><i>Use default</i> check box was removed from the New C++ Class dialog. Few protected members related to that check box were removed from org.eclipse.cdt.ui.wizards.NewClassCreationWizardPage class.</li></ol>
|
|
<p><br>
|
|
</p>
|
|
<h3><span class="mw-headline" id="DSF-GDB">DSF-GDB</span></h3>
|
|
<ol><li>The interface org.eclipse.cdt.dsf.mi.service.command.output.MIListThreadGroupsInfo.IThreadGroupInfo has four new methods. See <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/318230#c21">bug 318230 comment 21</a>
|
|
<ul><li>String getUser() </li>
|
|
<li>String getType() </li>
|
|
<li>String getCores() </li>
|
|
<li>String getExecutable() </li></ul></li>
|
|
<li>The interface org.eclipse.cdt.dsf.gdb.service.command.IGDBControl has a new method: List<String> getFeatures(). See <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/322658">bug 322658</a> </li>
|
|
<li>The interface org.eclipse.cdt.dsf.gdb.service.command.IGDBControl no longer has the three methods: start(...), restart(...) and canRestart(...). Those methods are moved to org.eclipse.cdt.dsf.gdb.service.IGDBProcesses and have a new signature. </li>
|
|
<li>org.eclipse.cdt.dsf.gdb.service.command.GDBControl and org.eclipse.cdt.dsf.gdb.service.command.GDBControl_7_0 no longer implement the five methods: start(...), restart(...), canRestart(...), startOrRestart(...), useContinueCommand(...) which are now implemented in org.eclipse.cdt.dsf.gdb.service.command.GDBProcesses and org.eclipse.cdt.dsf.gdb.service.command.GDBProcesses_7_0 </li>
|
|
<li>All the constructors of class org.eclipse.cdt.dsf.mi.service.command.commands.MIBreakInsert now take an extra parameter at the end of the parameter list: boolean allowPending. When this parameter is set to true, -break-insert will be used with the -f option, which asks GDB to make the breakpoint pending if the installation fails. This flag can only be enabled for GDB >= 6.8. See <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/248595">bug 248595</a> </li>
|
|
<li>The interface org.eclipse.cdt.dsf.debug.service.IProcesses.IMIProcesses has a new method: IMIContainerDMContext createContainerContextFromGroupId(...). See <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/317500">bug 317500</a> </li>
|
|
<li>The file of constants org.eclipse.cdt.dsf.gdb.internal.ui.preferences.IGdbDebugPreferenceConstants has been removed. It was deprecated and had already been replaced by org.eclipse.cdt.dsf.gdb.IGdbDebugPreferenceConstants </li>
|
|
<li>The interface org.eclipse.cdt.dsf.mi.service.IMIRunControl has a new method: IRunMode getRunMode(). See <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/334463">bug 334463</a> </li>
|
|
<li>FinalLaunchSequence has dramatically changed. </li>
|
|
<li>GdbLaunch#addInferiorProcess() is removed. </li>
|
|
<li>GDBControl.InferiorInputOutputInitStep is removed. </li>
|
|
<li>GDBControl_7_0.InferiorInputOutputInitStep is removed. </li>
|
|
<li>The interface IMIRunControl has the new method isTargetAcceptingCommands() as part of <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/339047">Bug 339047</a> </li>
|
|
<li>IGDBControl, GDBControl and GDBControl_7_0, no longer have the three methods: initInferiorInputOutput(), createInferiorProcess() and getInferiorProcess() as part of <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/237308">Bug 237308</a> </li>
|
|
<li>MIInferiorProcess's constructors have changed, and many of its public methods are removed (getState(), getPid(), setPid(), etc) as part of <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/237308">Bug 237308</a> </li>
|
|
<li>CommandFactory#createMIInferiorTTYSet() has changed signature as part of <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/237308">Bug 237308</a> </li>
|
|
<li>The constructor to MIInferiorTTYSet has changed signature as part of <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/237308">Bug 237308</a> </li>
|
|
<li>IGDBProcesses gets the new method attachDebuggerToProcess() as part of <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/237306">Bug 237306</a> </li>
|
|
<li>GdbInferiorProcess no longer exists. Its base class, MIInferiorProcess should be used directly. </li>
|
|
<li>GDBBackend.doInitialize(), GDBControl.doInitialize() and GDBControl_7_0.doInitialize() are now private. Having them as public was a bug that would break versioning of the service. See <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/341465">Bug 341465</a> </li>
|
|
<li>GDBControlDMContext no longer implements IBreakpointsTargetDMContext or IDisassemblyDMContext. Although not an API breaking change it has significant impacts. Mostly that code such as</li></ol>
|
|
<pre>(IBreakpointsTargetDMContext)fCommandControl.getContext() // Will fail with an Invalid Cast exception
|
|
(IDisassemblyDMContext)fCommandControl.getContext() // Will fail with an Invalid Cast exception
|
|
</pre>
|
|
<p>will now fail because the command control context is no longer an IBreakpointsTargetDMContext/IDisassemblyDMContext. Instead, MIContainerDMC now implements IBreakpointsTargetDMContext/IDisassemblyDMContext. This change was necessary to fully support multi-process and was done in <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/335324">bug 335324</a> and <a rel="nofollow" class="external text" href="http://bugs.eclipse.org/344298">bug 344298</a>.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Codan">Codan</span></h3>
|
|
<ol><li>The class org.eclipse.cdt.codan.core.cxx.model.CxxModelsCache is no longer a singleton.</li></ol>
|
|
<h2><span class="mw-headline" id="Bugs_Fixed_in_this_Release">Bugs Fixed in this Release</span></h2>
|
|
<p><a rel="nofollow" class="external text" href="https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;resolution=FIXED;target_milestone=7.0.1;target_milestone=7.0.2;target_milestone=7.0.3;target_milestone=8.0;product=CDT;classification=Tools">Fixed in CDT 8.0</a>
|
|
</p>
|
|
<!--
|
|
NewPP limit report
|
|
Cached time: 20220930060448
|
|
Cache expiry: 86400
|
|
Dynamic content: false
|
|
CPU time usage: 0.468 seconds
|
|
Real time usage: 0.801 seconds
|
|
Preprocessor visited node count: 166/1000000
|
|
Preprocessor generated node count: 172/1000000
|
|
Post‐expand include size: 0/2097152 bytes
|
|
Template argument size: 0/2097152 bytes
|
|
Highest expansion depth: 2/40
|
|
Expensive parser function count: 0/100
|
|
-->
|
|
|
|
<!--
|
|
Transclusion expansion time report (%,ms,calls,template)
|
|
100.00% 0.000 1 - -total
|
|
-->
|
|
|
|
<!-- Saved in parser cache with key my_wiki:pcache:idhash:26308-0!*!*!!en!5!* and timestamp 20220930060448 and revision id 376028
|
|
-->
|
|
</div>
|
|
<!-- catlinks -->
|
|
<div id="catlinks" class="catlinks catlinks-allhidden"></div> <!-- /catlinks -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- /maincontent -->
|
|
|
|
<!-- printfooter -->
|
|
<div class="printfooter">
|
|
Retrieved from "<a dir="ltr" href="https://wiki.eclipse.org/index.php?title=CDT/User/NewIn80&oldid=376028">https://wiki.eclipse.org/index.php?title=CDT/User/NewIn80&oldid=376028</a>" </div>
|
|
<!-- /printfooter -->
|
|
|
|
|
|
<!-- debughtml -->
|
|
<!-- /debughtml -->
|
|
|
|
</div>
|
|
<!-- /bodyContent -->
|
|
</section>
|
|
<!-- /content -->
|
|
|
|
<!-- footer -->
|
|
|
|
</div>
|
|
<div class="featured-footer featured-footer-newsletter background-secondary">
|
|
<div class="container">
|
|
<p id="footercredit">This page was last modified 10:30, 8 January 2015 by <a href="https://wiki.eclipse.org/index.php?title=User:Marc.khouzam.gmail.com&action=edit&redlink=1" class="new" title="User:Marc.khouzam.gmail.com (page does not exist)">Marc Khouzam</a>. Based on work by <a href="https://wiki.eclipse.org/index.php?title=User:Waav_zoungla-eclipsebugzilla.yahoo.fr&action=edit&redlink=1" class="new" title="User:Waav zoungla-eclipsebugzilla.yahoo.fr (page does not exist)">Amenel Voglozin</a>, <a href="https://wiki.eclipse.org/index.php?title=User:Vivkong.ca.ibm.com&action=edit&redlink=1" class="new" title="User:Vivkong.ca.ibm.com (page does not exist)">Vivian Kong</a> and <a href="https://wiki.eclipse.org/index.php?title=User:Elaskavaia.cdt.gmail.com&action=edit&redlink=1" class="new" title="User:Elaskavaia.cdt.gmail.com (page does not exist)">Alena Laskavaia</a> and <a href="https://wiki.eclipse.org/index.php?title=CDT/User/NewIn80&action=credits" title="CDT/User/NewIn80">others</a>.</p><p id="footerviews"></p> </div>
|
|
</div>
|
|
</main> <!-- /#main-content-container-row -->
|
|
<p id="back-to-top" class="noprint hidden-print">
|
|
<a class="visible-xs" href="https://wiki.eclipse.org/CDT/User/NewIn80#top">Back to the top</a>
|
|
</p>
|
|
<footer id="solstice-footer">
|
|
<div class="container">
|
|
<div class="row">
|
|
<section class="col-sm-6 hidden-print" id="footer-eclipse-foundation">
|
|
<h2 class="section-title">Eclipse Foundation</h2>
|
|
<ul class="nav">
|
|
<li><a href="https://www.eclipse.org/org/">About Us</a></li>
|
|
<li><a href="https://www.eclipse.org/org/foundation/contact.php">Contact Us</a></li>
|
|
<li><a href="https://www.eclipse.org/donate">Donate</a></li>
|
|
<li><a href="https://www.eclipse.org/membership/">Members</a></li>
|
|
<li><a href="https://www.eclipse.org/org/documents/">Governance</a></li>
|
|
<li><a href="https://www.eclipse.org/org/documents/Community_Code_of_Conduct.php">Code of Conduct</a></li>
|
|
<li><a href="https://www.eclipse.org/artwork/">Logo and Artwork</a></li>
|
|
<li><a href="https://www.eclipse.org/org/foundation/directors.php">Board of Directors</a></li>
|
|
</ul>
|
|
</section>
|
|
<section class="col-sm-6 hidden-print" id="footer-legal">
|
|
<h2 class="section-title">Legal</h2>
|
|
<ul class="nav">
|
|
<li><a href="https://www.eclipse.org/legal/privacy.php">Privacy Policy</a></li>
|
|
<li><a href="https://www.eclipse.org/legal/termsofuse.php">Terms of Use</a></li>
|
|
<li><a href="https://www.eclipse.org/legal/copyright.php">Copyright Agent</a></li>
|
|
<li><a href="https://www.eclipse.org/legal/epl-2.0/">Eclipse Public License</a></li>
|
|
<li><a href="https://www.eclipse.org/legal/">Legal Resources</a></li>
|
|
</ul>
|
|
</section>
|
|
<section class="col-sm-6 hidden-print" id="footer-useful-links">
|
|
<h2 class="section-title">Useful Links</h2>
|
|
<ul class="nav">
|
|
<li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
|
|
<li><a href="https://help.eclipse.org/">Documentation</a></li>
|
|
<li><a href="https://www.eclipse.org/contribute/">How to Contribute</a></li>
|
|
<li><a href="https://www.eclipse.org/mail/">Mailing Lists</a></li>
|
|
<li><a href="https://www.eclipse.org/forums/">Forums</a></li>
|
|
<li><a href="https://marketplace.eclipse.org/">Marketplace</a></li>
|
|
</ul>
|
|
</section>
|
|
<section class="col-sm-6 hidden-print" id="footer-other">
|
|
<h2 class="section-title">Other</h2>
|
|
<ul class="nav">
|
|
<li><a href="https://www.eclipse.org/ide/">IDE and Tools</a></li>
|
|
<li><a href="https://www.eclipse.org/projects">Projects</a></li>
|
|
<li><a href="https://www.eclipse.org/org/workinggroups/">Working Groups</a></li>
|
|
<li><a href="https://www.eclipse.org/org/research/">Research@Eclipse</a></li>
|
|
<li><a href="https://www.eclipse.org/security/">Report a Vulnerability</a></li>
|
|
<li><a href="https://status.eclipse.org/">Service Status</a></li>
|
|
</ul>
|
|
</section>
|
|
<div class="col-sm-24 margin-top-20">
|
|
<div class="row">
|
|
<div id="copyright" class="col-md-16">
|
|
<p id="copyright-text">Copyright © Eclipse Foundation, Inc. All Rights Reserved.</p>
|
|
</div>
|
|
<div class="col-md-8 social-media">
|
|
<ul class="list-inline">
|
|
<li>
|
|
<a class="social-media-link fa-stack fa-lg" href="https://twitter.com/EclipseFdn">
|
|
<i class="fa fa-circle-thin fa-stack-2x"></i>
|
|
<i class="fa fa-twitter fa-stack-1x"></i>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="social-media-link fa-stack fa-lg" href="https://www.facebook.com/eclipse.org">
|
|
<i class="fa fa-circle-thin fa-stack-2x"></i>
|
|
<i class="fa fa-facebook fa-stack-1x"></i>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="social-media-link fa-stack fa-lg" href="https://www.youtube.com/user/EclipseFdn">
|
|
<i class="fa fa-circle-thin fa-stack-2x"></i>
|
|
<i class="fa fa-youtube fa-stack-1x"></i>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="social-media-link fa-stack fa-lg" href="https://www.linkedin.com/company/eclipse-foundation">
|
|
<i class="fa fa-circle-thin fa-stack-2x"></i>
|
|
<i class="fa fa-linkedin fa-stack-1x"></i>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a href="https://wiki.eclipse.org/CDT/User/NewIn80#" class="scrollup">Back to the top</a>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
<!-- /footer -->
|
|
<script>window.RLQ = window.RLQ || []; window.RLQ.push( function () {
|
|
mw.loader.state({"skins.solstice":"loading","user":"ready","user.groups":"ready"});mw.loader.load("/load.php?debug=false\u0026lang=en\u0026modules=skins.solstice\u0026only=scripts\u0026skin=solstice");mw.loader.load(["mediawiki.toc","mediawiki.action.view.postEdit","site","mediawiki.user","mediawiki.hidpi","mediawiki.page.ready","mediawiki.searchSuggest"]);
|
|
} );</script><script>window.RLQ = window.RLQ || []; window.RLQ.push( function () {
|
|
mw.config.set({"wgBackendResponseTime":449});
|
|
} );</script>
|
|
|
|
|
|
<script type="text/javascript" id="hs-script-loader" src="./CDT-8.0_files/5413615(2).js"></script>
|
|
<div class="suggestions" style="display: none; font-size: 14px;"><div class="suggestions-results"></div><div class="suggestions-special"></div></div></body></html> |