bake-toolkit 2.28.0 → 2.28.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/documentation/_build/html/_sources/changelog.txt +3 -0
- data/documentation/_build/html/_sources/index.txt +1 -1
- data/documentation/_build/html/_static/logo_tiny_48.png +0 -0
- data/documentation/_build/html/changelog.html +1154 -1149
- data/documentation/_build/html/commandline/commandline.html +285 -285
- data/documentation/_build/html/concepts/build_hierarchy.html +204 -204
- data/documentation/_build/html/concepts/concepts.html +196 -196
- data/documentation/_build/html/concepts/inject.html +216 -216
- data/documentation/_build/html/concepts/link_order.html +245 -245
- data/documentation/_build/html/concepts/prebuild.html +205 -205
- data/documentation/_build/html/concepts/the_main_project.html +260 -260
- data/documentation/_build/html/concepts/the_project_meta_file.html +288 -288
- data/documentation/_build/html/genindex.html +152 -152
- data/documentation/_build/html/ide/eclipse/eclipse.html +186 -186
- data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +208 -208
- data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +191 -191
- data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +198 -198
- data/documentation/_build/html/ide/eclipse/how_to_debug_in_eclipse.html +198 -198
- data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +196 -196
- data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +256 -256
- data/documentation/_build/html/ide/ide_integrations.html +185 -185
- data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +171 -171
- data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +185 -185
- data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +190 -190
- data/documentation/_build/html/ide/vs/vs.html +170 -170
- data/documentation/_build/html/ide/vs/vs_install.html +202 -202
- data/documentation/_build/html/index.html +246 -246
- data/documentation/_build/html/install/install_bake.html +279 -279
- data/documentation/_build/html/internal.html +217 -217
- data/documentation/_build/html/known_issues.html +173 -173
- data/documentation/_build/html/license.html +236 -236
- data/documentation/_build/html/performance/performance.html +373 -373
- data/documentation/_build/html/quickstart/quickstart.html +236 -236
- data/documentation/_build/html/search.html +174 -174
- data/documentation/_build/html/searchindex.js +1 -1
- data/documentation/_build/html/syntax/adapt_configs.html +370 -370
- data/documentation/_build/html/syntax/auto_adjustment.html +189 -189
- data/documentation/_build/html/syntax/derive_configs.html +247 -247
- data/documentation/_build/html/syntax/project_meta_syntax.html +923 -923
- data/documentation/_build/html/syntax/syntax.html +196 -196
- data/documentation/_build/html/syntax/variable_substitutions.html +365 -365
- data/documentation/_build/html/tips_and_tricks/bakeclean.html +169 -169
- data/documentation/_build/html/tips_and_tricks/dot.html +186 -186
- data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +214 -214
- data/documentation/_build/html/tips_and_tricks/qac.html +297 -297
- data/documentation/_build/html/tips_and_tricks/the_bakery.html +405 -405
- data/documentation/_build/html/tips_and_tricks/the_clang.html +201 -201
- data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +198 -198
- data/documentation/_build/html/why_bake/why_bake.html +241 -241
- data/lib/bake/config/checks.rb +76 -68
- data/lib/bake/model/metamodel.rb +6 -0
- data/lib/common/version.rb +1 -1
- metadata +3 -5
- data/documentation/_build/html/_sources/tips_and_tricks/static_code_analysis.txt +0 -122
- data/documentation/_build/html/_static/logo_conformant_48.png +0 -0
- data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +0 -285
@@ -1,199 +1,199 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
|
8
|
-
<title>How to create a workspace in Eclipse — bake documentation</title>
|
9
|
-
|
10
|
-
<link rel="stylesheet" href="../../_static/basic.css" type="text/css" />
|
11
|
-
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
-
<link rel="stylesheet" href="../../_static/bootswatch-3.3.4/sandstone/bootstrap.min.css" type="text/css" />
|
13
|
-
<link rel="stylesheet" href="../../_static/bootstrap-sphinx.css" type="text/css" />
|
14
|
-
|
15
|
-
<script type="text/javascript">
|
16
|
-
var DOCUMENTATION_OPTIONS = {
|
17
|
-
URL_ROOT: '../../',
|
18
|
-
VERSION: '',
|
19
|
-
COLLAPSE_INDEX: false,
|
20
|
-
FILE_SUFFIX: '.html',
|
21
|
-
HAS_SOURCE: true
|
22
|
-
};
|
23
|
-
</script>
|
24
|
-
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
25
|
-
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
|
-
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
|
-
<script type="text/javascript" src="../../_static/js/jquery-1.11.0.min.js"></script>
|
28
|
-
<script type="text/javascript" src="../../_static/js/jquery-fix.js"></script>
|
29
|
-
<script type="text/javascript" src="../../_static/bootstrap-3.3.4/js/bootstrap.min.js"></script>
|
30
|
-
<script type="text/javascript" src="../../_static/bootstrap-sphinx.js"></script>
|
31
|
-
<link rel="shortcut icon" href="../../_static/logo_tiny_32.ico"/>
|
32
|
-
<link rel="top" title="bake documentation" href="../../index.html" />
|
33
|
-
<link rel="up" title="Eclipse" href="eclipse.html" />
|
34
|
-
<link rel="next" title="How to create a new project in Eclipse" href="how_to_create_a_new_project_in_eclipse.html" />
|
35
|
-
<link rel="prev" title="How to convert existing CDT workspaces" href="how_to_convert_existing_cdt_workspace.html" />
|
36
|
-
<meta charset='utf-8'>
|
37
|
-
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
38
|
-
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
|
39
|
-
<meta name="apple-mobile-web-app-capable" content="yes">
|
40
|
-
|
41
|
-
</head>
|
42
|
-
<body role="document">
|
43
|
-
|
44
|
-
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
|
45
|
-
<div class="container">
|
46
|
-
<div class="navbar-header">
|
47
|
-
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
|
48
|
-
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
|
49
|
-
<span class="icon-bar"></span>
|
50
|
-
<span class="icon-bar"></span>
|
51
|
-
<span class="icon-bar"></span>
|
52
|
-
</button>
|
53
|
-
<a class="navbar-brand" href="../../index.html"><img src="../../_static/
|
54
|
-
</a>
|
55
|
-
<span class="navbar-text navbar-version pull-left"><b></b></span>
|
56
|
-
</div>
|
57
|
-
|
58
|
-
<div class="collapse navbar-collapse nav-collapse">
|
59
|
-
<ul class="nav navbar-nav">
|
60
|
-
|
61
|
-
|
62
|
-
<li class="dropdown globaltoc-container">
|
63
|
-
<a role="button"
|
64
|
-
id="dLabelGlobalToc"
|
65
|
-
data-toggle="dropdown"
|
66
|
-
data-target="#"
|
67
|
-
href="../../index.html">Section <b class="caret"></b></a>
|
68
|
-
<ul class="dropdown-menu globaltoc"
|
69
|
-
role="menu"
|
70
|
-
aria-labelledby="dLabelGlobalToc"><ul class="current">
|
71
|
-
<li class="toctree-l1"><a class="reference internal" href="../../why_bake/why_bake.html">Why you should use bake</a></li>
|
72
|
-
<li class="toctree-l1"><a class="reference internal" href="../../install/install_bake.html">Install bake</a></li>
|
73
|
-
<li class="toctree-l1"><a class="reference internal" href="../../quickstart/quickstart.html">Quickstart</a></li>
|
74
|
-
<li class="toctree-l1"><a class="reference internal" href="../../concepts/concepts.html">Concepts</a></li>
|
75
|
-
<li class="toctree-l1"><a class="reference internal" href="../../syntax/syntax.html">Syntax</a></li>
|
76
|
-
<li class="toctree-l1"><a class="reference internal" href="../../commandline/commandline.html">Commandline</a></li>
|
77
|
-
<li class="toctree-l1 current"><a class="reference internal" href="../ide_integrations.html">IDE Support</a></li>
|
78
|
-
<li class="toctree-l1"><a class="reference internal" href="../../tips_and_tricks/tips_and_tricks.html">Additional features</a></li>
|
79
|
-
<li class="toctree-l1"><a class="reference internal" href="../../performance/performance.html">Performance</a></li>
|
80
|
-
<li class="toctree-l1"><a class="reference internal" href="../../known_issues.html">Known Issues</a></li>
|
81
|
-
<li class="toctree-l1"><a class="reference internal" href="../../changelog.html">Changelog</a></li>
|
82
|
-
<li class="toctree-l1"><a class="reference internal" href="../../license.html">License</a></li>
|
83
|
-
</ul>
|
84
|
-
<ul>
|
85
|
-
<li class="toctree-l1"><a class="reference internal" href="../../internal.html">Internal developing notes</a></li>
|
86
|
-
</ul>
|
87
|
-
</ul>
|
88
|
-
</li>
|
89
|
-
|
90
|
-
<li class="dropdown">
|
91
|
-
<a role="button"
|
92
|
-
id="dLabelLocalToc"
|
93
|
-
data-toggle="dropdown"
|
94
|
-
data-target="#"
|
95
|
-
href="#">SubSections <b class="caret"></b></a>
|
96
|
-
<ul class="dropdown-menu localtoc"
|
97
|
-
role="menu"
|
98
|
-
aria-labelledby="dLabelLocalToc"><ul>
|
99
|
-
<li><a class="reference internal" href="#">How to create a workspace in Eclipse</a><ul>
|
100
|
-
<li><a class="reference internal" href="#import">Import</a></li>
|
101
|
-
</ul>
|
102
|
-
</li>
|
103
|
-
</ul>
|
104
|
-
</ul>
|
105
|
-
</li>
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
<li>
|
112
|
-
<a href="how_to_convert_existing_cdt_workspace.html" title="Previous Chapter: How to convert existing CDT workspaces"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« How to conver...</span>
|
113
|
-
</a>
|
114
|
-
</li>
|
115
|
-
<li>
|
116
|
-
<a href="how_to_create_a_new_project_in_eclipse.html" title="Next Chapter: How to create a new project in Eclipse"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">How to create... »</span>
|
117
|
-
</a>
|
118
|
-
</li>
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
</ul>
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
<form class="navbar-form navbar-right" action="../../search.html" method="get">
|
129
|
-
<div class="form-group">
|
130
|
-
<input type="text" name="q" class="form-control" placeholder="Search" />
|
131
|
-
</div>
|
132
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
133
|
-
<input type="hidden" name="area" value="default" />
|
134
|
-
</form>
|
135
|
-
|
136
|
-
</div>
|
137
|
-
</div>
|
138
|
-
</div>
|
139
|
-
|
140
|
-
<div class="container">
|
141
|
-
<div class="row">
|
142
|
-
<div class="col-md-12">
|
143
|
-
|
144
|
-
<div class="section" id="how-to-create-a-workspace-in-eclipse">
|
145
|
-
<h1>How to create a workspace in Eclipse<a class="headerlink" href="#how-to-create-a-workspace-in-eclipse" title="Permalink to this headline">¶</a></h1>
|
146
|
-
<p>Using bake in Eclipse is very similar compared to the <a class="reference internal" href="how_to_convert_existing_cdt_workspace.html"><em>CDT build mechanism</em></a>.</p>
|
147
|
-
<div class="admonition warning">
|
148
|
-
<p class="first admonition-title">Warning</p>
|
149
|
-
<p class="last">One major difference is, that <cite>.cproject</cite> and <cite>.project</cite> files are just wrappers. Do not use the standard property pages,
|
150
|
-
they will be simply ignored! Edit only the <cite>Project.meta</cite> files.
|
151
|
-
The <cite>.cprojec`t and `.project</cite> files shall not be committed to your source control.</p>
|
152
|
-
</div>
|
153
|
-
<div class="section" id="import">
|
154
|
-
<h2>Import<a class="headerlink" href="#import" title="Permalink to this headline">¶</a></h2>
|
155
|
-
<p>If you have a workspace with no <cite>.cproject</cite> and <cite>.project</cite> files, but <cite>Project.meta</cite> files, you can import them to Eclipse.
|
156
|
-
You can also use the importer to import single projects.
|
157
|
-
The importer can be found unter <cite>File->Import</cite> or in the context menu of the Project Explorer.
|
158
|
-
All (sub)directories with a <cite>Project.meta</cite> are listed here. Choose the projects to import and press Finish.</p>
|
159
|
-
<table border="1" class="docutils">
|
160
|
-
<colgroup>
|
161
|
-
<col width="51%" />
|
162
|
-
<col width="49%" />
|
163
|
-
</colgroup>
|
164
|
-
<tbody valign="top">
|
165
|
-
<tr class="row-odd"><td><img alt="../../_images/SelectImport.png" class="first last" src="../../_images/SelectImport.png" />
|
166
|
-
</td>
|
167
|
-
<td><img alt="../../_images/Import.png" class="first last" src="../../_images/Import.png" />
|
168
|
-
</td>
|
169
|
-
</tr>
|
170
|
-
</tbody>
|
171
|
-
</table>
|
172
|
-
<div class="admonition note">
|
173
|
-
<p class="first admonition-title">Note</p>
|
174
|
-
<p class="last">Note, that <cite>.cproject</cite> and <cite>.project</cite> files will not be overwritten per default. If e.g. a project is not a c-project,
|
175
|
-
some bake features will not available. In this case, enable the recreate option.
|
176
|
-
This is also a good idea, if you want to get rid of old configurations.</p>
|
177
|
-
</div>
|
178
|
-
</div>
|
179
|
-
</div>
|
180
|
-
|
181
|
-
|
182
|
-
</div>
|
183
|
-
|
184
|
-
</div>
|
185
|
-
</div>
|
186
|
-
<footer class="footer">
|
187
|
-
<div class="container">
|
188
|
-
<p class="pull-right">
|
189
|
-
<a href="#">Back to top</a>
|
190
|
-
|
191
|
-
</p>
|
192
|
-
<p>
|
193
|
-
© Copyright 2016, E.S.R.Labs AG.<br/>
|
194
|
-
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
195
|
-
</p>
|
196
|
-
</div>
|
197
|
-
</footer>
|
198
|
-
</body>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
+
|
8
|
+
<title>How to create a workspace in Eclipse — bake documentation</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="../../_static/basic.css" type="text/css" />
|
11
|
+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
+
<link rel="stylesheet" href="../../_static/bootswatch-3.3.4/sandstone/bootstrap.min.css" type="text/css" />
|
13
|
+
<link rel="stylesheet" href="../../_static/bootstrap-sphinx.css" type="text/css" />
|
14
|
+
|
15
|
+
<script type="text/javascript">
|
16
|
+
var DOCUMENTATION_OPTIONS = {
|
17
|
+
URL_ROOT: '../../',
|
18
|
+
VERSION: '',
|
19
|
+
COLLAPSE_INDEX: false,
|
20
|
+
FILE_SUFFIX: '.html',
|
21
|
+
HAS_SOURCE: true
|
22
|
+
};
|
23
|
+
</script>
|
24
|
+
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
25
|
+
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
|
+
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
|
+
<script type="text/javascript" src="../../_static/js/jquery-1.11.0.min.js"></script>
|
28
|
+
<script type="text/javascript" src="../../_static/js/jquery-fix.js"></script>
|
29
|
+
<script type="text/javascript" src="../../_static/bootstrap-3.3.4/js/bootstrap.min.js"></script>
|
30
|
+
<script type="text/javascript" src="../../_static/bootstrap-sphinx.js"></script>
|
31
|
+
<link rel="shortcut icon" href="../../_static/logo_tiny_32.ico"/>
|
32
|
+
<link rel="top" title="bake documentation" href="../../index.html" />
|
33
|
+
<link rel="up" title="Eclipse" href="eclipse.html" />
|
34
|
+
<link rel="next" title="How to create a new project in Eclipse" href="how_to_create_a_new_project_in_eclipse.html" />
|
35
|
+
<link rel="prev" title="How to convert existing CDT workspaces" href="how_to_convert_existing_cdt_workspace.html" />
|
36
|
+
<meta charset='utf-8'>
|
37
|
+
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
38
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
|
39
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
40
|
+
|
41
|
+
</head>
|
42
|
+
<body role="document">
|
43
|
+
|
44
|
+
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
|
45
|
+
<div class="container">
|
46
|
+
<div class="navbar-header">
|
47
|
+
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
|
48
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
|
49
|
+
<span class="icon-bar"></span>
|
50
|
+
<span class="icon-bar"></span>
|
51
|
+
<span class="icon-bar"></span>
|
52
|
+
</button>
|
53
|
+
<a class="navbar-brand" href="../../index.html"><img src="../../_static/logo_tiny_48.png">
|
54
|
+
</a>
|
55
|
+
<span class="navbar-text navbar-version pull-left"><b></b></span>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<div class="collapse navbar-collapse nav-collapse">
|
59
|
+
<ul class="nav navbar-nav">
|
60
|
+
|
61
|
+
|
62
|
+
<li class="dropdown globaltoc-container">
|
63
|
+
<a role="button"
|
64
|
+
id="dLabelGlobalToc"
|
65
|
+
data-toggle="dropdown"
|
66
|
+
data-target="#"
|
67
|
+
href="../../index.html">Section <b class="caret"></b></a>
|
68
|
+
<ul class="dropdown-menu globaltoc"
|
69
|
+
role="menu"
|
70
|
+
aria-labelledby="dLabelGlobalToc"><ul class="current">
|
71
|
+
<li class="toctree-l1"><a class="reference internal" href="../../why_bake/why_bake.html">Why you should use bake</a></li>
|
72
|
+
<li class="toctree-l1"><a class="reference internal" href="../../install/install_bake.html">Install bake</a></li>
|
73
|
+
<li class="toctree-l1"><a class="reference internal" href="../../quickstart/quickstart.html">Quickstart</a></li>
|
74
|
+
<li class="toctree-l1"><a class="reference internal" href="../../concepts/concepts.html">Concepts</a></li>
|
75
|
+
<li class="toctree-l1"><a class="reference internal" href="../../syntax/syntax.html">Syntax</a></li>
|
76
|
+
<li class="toctree-l1"><a class="reference internal" href="../../commandline/commandline.html">Commandline</a></li>
|
77
|
+
<li class="toctree-l1 current"><a class="reference internal" href="../ide_integrations.html">IDE Support</a></li>
|
78
|
+
<li class="toctree-l1"><a class="reference internal" href="../../tips_and_tricks/tips_and_tricks.html">Additional features</a></li>
|
79
|
+
<li class="toctree-l1"><a class="reference internal" href="../../performance/performance.html">Performance</a></li>
|
80
|
+
<li class="toctree-l1"><a class="reference internal" href="../../known_issues.html">Known Issues</a></li>
|
81
|
+
<li class="toctree-l1"><a class="reference internal" href="../../changelog.html">Changelog</a></li>
|
82
|
+
<li class="toctree-l1"><a class="reference internal" href="../../license.html">License</a></li>
|
83
|
+
</ul>
|
84
|
+
<ul>
|
85
|
+
<li class="toctree-l1"><a class="reference internal" href="../../internal.html">Internal developing notes</a></li>
|
86
|
+
</ul>
|
87
|
+
</ul>
|
88
|
+
</li>
|
89
|
+
|
90
|
+
<li class="dropdown">
|
91
|
+
<a role="button"
|
92
|
+
id="dLabelLocalToc"
|
93
|
+
data-toggle="dropdown"
|
94
|
+
data-target="#"
|
95
|
+
href="#">SubSections <b class="caret"></b></a>
|
96
|
+
<ul class="dropdown-menu localtoc"
|
97
|
+
role="menu"
|
98
|
+
aria-labelledby="dLabelLocalToc"><ul>
|
99
|
+
<li><a class="reference internal" href="#">How to create a workspace in Eclipse</a><ul>
|
100
|
+
<li><a class="reference internal" href="#import">Import</a></li>
|
101
|
+
</ul>
|
102
|
+
</li>
|
103
|
+
</ul>
|
104
|
+
</ul>
|
105
|
+
</li>
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<li>
|
112
|
+
<a href="how_to_convert_existing_cdt_workspace.html" title="Previous Chapter: How to convert existing CDT workspaces"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« How to conver...</span>
|
113
|
+
</a>
|
114
|
+
</li>
|
115
|
+
<li>
|
116
|
+
<a href="how_to_create_a_new_project_in_eclipse.html" title="Next Chapter: How to create a new project in Eclipse"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">How to create... »</span>
|
117
|
+
</a>
|
118
|
+
</li>
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
</ul>
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
<form class="navbar-form navbar-right" action="../../search.html" method="get">
|
129
|
+
<div class="form-group">
|
130
|
+
<input type="text" name="q" class="form-control" placeholder="Search" />
|
131
|
+
</div>
|
132
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
133
|
+
<input type="hidden" name="area" value="default" />
|
134
|
+
</form>
|
135
|
+
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
</div>
|
139
|
+
|
140
|
+
<div class="container">
|
141
|
+
<div class="row">
|
142
|
+
<div class="col-md-12">
|
143
|
+
|
144
|
+
<div class="section" id="how-to-create-a-workspace-in-eclipse">
|
145
|
+
<h1>How to create a workspace in Eclipse<a class="headerlink" href="#how-to-create-a-workspace-in-eclipse" title="Permalink to this headline">¶</a></h1>
|
146
|
+
<p>Using bake in Eclipse is very similar compared to the <a class="reference internal" href="how_to_convert_existing_cdt_workspace.html"><em>CDT build mechanism</em></a>.</p>
|
147
|
+
<div class="admonition warning">
|
148
|
+
<p class="first admonition-title">Warning</p>
|
149
|
+
<p class="last">One major difference is, that <cite>.cproject</cite> and <cite>.project</cite> files are just wrappers. Do not use the standard property pages,
|
150
|
+
they will be simply ignored! Edit only the <cite>Project.meta</cite> files.
|
151
|
+
The <cite>.cprojec`t and `.project</cite> files shall not be committed to your source control.</p>
|
152
|
+
</div>
|
153
|
+
<div class="section" id="import">
|
154
|
+
<h2>Import<a class="headerlink" href="#import" title="Permalink to this headline">¶</a></h2>
|
155
|
+
<p>If you have a workspace with no <cite>.cproject</cite> and <cite>.project</cite> files, but <cite>Project.meta</cite> files, you can import them to Eclipse.
|
156
|
+
You can also use the importer to import single projects.
|
157
|
+
The importer can be found unter <cite>File->Import</cite> or in the context menu of the Project Explorer.
|
158
|
+
All (sub)directories with a <cite>Project.meta</cite> are listed here. Choose the projects to import and press Finish.</p>
|
159
|
+
<table border="1" class="docutils">
|
160
|
+
<colgroup>
|
161
|
+
<col width="51%" />
|
162
|
+
<col width="49%" />
|
163
|
+
</colgroup>
|
164
|
+
<tbody valign="top">
|
165
|
+
<tr class="row-odd"><td><img alt="../../_images/SelectImport.png" class="first last" src="../../_images/SelectImport.png" />
|
166
|
+
</td>
|
167
|
+
<td><img alt="../../_images/Import.png" class="first last" src="../../_images/Import.png" />
|
168
|
+
</td>
|
169
|
+
</tr>
|
170
|
+
</tbody>
|
171
|
+
</table>
|
172
|
+
<div class="admonition note">
|
173
|
+
<p class="first admonition-title">Note</p>
|
174
|
+
<p class="last">Note, that <cite>.cproject</cite> and <cite>.project</cite> files will not be overwritten per default. If e.g. a project is not a c-project,
|
175
|
+
some bake features will not available. In this case, enable the recreate option.
|
176
|
+
This is also a good idea, if you want to get rid of old configurations.</p>
|
177
|
+
</div>
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
|
182
|
+
</div>
|
183
|
+
|
184
|
+
</div>
|
185
|
+
</div>
|
186
|
+
<footer class="footer">
|
187
|
+
<div class="container">
|
188
|
+
<p class="pull-right">
|
189
|
+
<a href="#">Back to top</a>
|
190
|
+
|
191
|
+
</p>
|
192
|
+
<p>
|
193
|
+
© Copyright 2016, E.S.R.Labs AG.<br/>
|
194
|
+
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
195
|
+
</p>
|
196
|
+
</div>
|
197
|
+
</footer>
|
198
|
+
</body>
|
199
199
|
</html>
|
@@ -1,199 +1,199 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
|
8
|
-
<title>How to debug in Eclipse — bake documentation</title>
|
9
|
-
|
10
|
-
<link rel="stylesheet" href="../../_static/basic.css" type="text/css" />
|
11
|
-
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
-
<link rel="stylesheet" href="../../_static/bootswatch-3.3.4/sandstone/bootstrap.min.css" type="text/css" />
|
13
|
-
<link rel="stylesheet" href="../../_static/bootstrap-sphinx.css" type="text/css" />
|
14
|
-
|
15
|
-
<script type="text/javascript">
|
16
|
-
var DOCUMENTATION_OPTIONS = {
|
17
|
-
URL_ROOT: '../../',
|
18
|
-
VERSION: '',
|
19
|
-
COLLAPSE_INDEX: false,
|
20
|
-
FILE_SUFFIX: '.html',
|
21
|
-
HAS_SOURCE: true
|
22
|
-
};
|
23
|
-
</script>
|
24
|
-
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
25
|
-
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
|
-
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
|
-
<script type="text/javascript" src="../../_static/js/jquery-1.11.0.min.js"></script>
|
28
|
-
<script type="text/javascript" src="../../_static/js/jquery-fix.js"></script>
|
29
|
-
<script type="text/javascript" src="../../_static/bootstrap-3.3.4/js/bootstrap.min.js"></script>
|
30
|
-
<script type="text/javascript" src="../../_static/bootstrap-sphinx.js"></script>
|
31
|
-
<link rel="shortcut icon" href="../../_static/logo_tiny_32.ico"/>
|
32
|
-
<link rel="top" title="bake documentation" href="../../index.html" />
|
33
|
-
<link rel="up" title="Eclipse" href="eclipse.html" />
|
34
|
-
<link rel="next" title="Visual Studio" href="../vs/vs.html" />
|
35
|
-
<link rel="prev" title="How to create a new project in Eclipse" href="how_to_create_a_new_project_in_eclipse.html" />
|
36
|
-
<meta charset='utf-8'>
|
37
|
-
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
38
|
-
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
|
39
|
-
<meta name="apple-mobile-web-app-capable" content="yes">
|
40
|
-
|
41
|
-
</head>
|
42
|
-
<body role="document">
|
43
|
-
|
44
|
-
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
|
45
|
-
<div class="container">
|
46
|
-
<div class="navbar-header">
|
47
|
-
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
|
48
|
-
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
|
49
|
-
<span class="icon-bar"></span>
|
50
|
-
<span class="icon-bar"></span>
|
51
|
-
<span class="icon-bar"></span>
|
52
|
-
</button>
|
53
|
-
<a class="navbar-brand" href="../../index.html"><img src="../../_static/
|
54
|
-
</a>
|
55
|
-
<span class="navbar-text navbar-version pull-left"><b></b></span>
|
56
|
-
</div>
|
57
|
-
|
58
|
-
<div class="collapse navbar-collapse nav-collapse">
|
59
|
-
<ul class="nav navbar-nav">
|
60
|
-
|
61
|
-
|
62
|
-
<li class="dropdown globaltoc-container">
|
63
|
-
<a role="button"
|
64
|
-
id="dLabelGlobalToc"
|
65
|
-
data-toggle="dropdown"
|
66
|
-
data-target="#"
|
67
|
-
href="../../index.html">Section <b class="caret"></b></a>
|
68
|
-
<ul class="dropdown-menu globaltoc"
|
69
|
-
role="menu"
|
70
|
-
aria-labelledby="dLabelGlobalToc"><ul class="current">
|
71
|
-
<li class="toctree-l1"><a class="reference internal" href="../../why_bake/why_bake.html">Why you should use bake</a></li>
|
72
|
-
<li class="toctree-l1"><a class="reference internal" href="../../install/install_bake.html">Install bake</a></li>
|
73
|
-
<li class="toctree-l1"><a class="reference internal" href="../../quickstart/quickstart.html">Quickstart</a></li>
|
74
|
-
<li class="toctree-l1"><a class="reference internal" href="../../concepts/concepts.html">Concepts</a></li>
|
75
|
-
<li class="toctree-l1"><a class="reference internal" href="../../syntax/syntax.html">Syntax</a></li>
|
76
|
-
<li class="toctree-l1"><a class="reference internal" href="../../commandline/commandline.html">Commandline</a></li>
|
77
|
-
<li class="toctree-l1 current"><a class="reference internal" href="../ide_integrations.html">IDE Support</a></li>
|
78
|
-
<li class="toctree-l1"><a class="reference internal" href="../../tips_and_tricks/tips_and_tricks.html">Additional features</a></li>
|
79
|
-
<li class="toctree-l1"><a class="reference internal" href="../../performance/performance.html">Performance</a></li>
|
80
|
-
<li class="toctree-l1"><a class="reference internal" href="../../known_issues.html">Known Issues</a></li>
|
81
|
-
<li class="toctree-l1"><a class="reference internal" href="../../changelog.html">Changelog</a></li>
|
82
|
-
<li class="toctree-l1"><a class="reference internal" href="../../license.html">License</a></li>
|
83
|
-
</ul>
|
84
|
-
<ul>
|
85
|
-
<li class="toctree-l1"><a class="reference internal" href="../../internal.html">Internal developing notes</a></li>
|
86
|
-
</ul>
|
87
|
-
</ul>
|
88
|
-
</li>
|
89
|
-
|
90
|
-
<li class="dropdown">
|
91
|
-
<a role="button"
|
92
|
-
id="dLabelLocalToc"
|
93
|
-
data-toggle="dropdown"
|
94
|
-
data-target="#"
|
95
|
-
href="#">SubSections <b class="caret"></b></a>
|
96
|
-
<ul class="dropdown-menu localtoc"
|
97
|
-
role="menu"
|
98
|
-
aria-labelledby="dLabelLocalToc"><ul>
|
99
|
-
<li><a class="reference internal" href="#">How to debug in Eclipse</a><ul>
|
100
|
-
<li><a class="reference internal" href="#compile-with-debug-information">1. Compile with debug information</a></li>
|
101
|
-
<li><a class="reference internal" href="#create-a-debug-configuration-for-a-c-application">2. Create a debug configuration for a C++ application</a></li>
|
102
|
-
<li><a class="reference internal" href="#add-path-mapping">3. Add path mapping</a></li>
|
103
|
-
<li><a class="reference internal" href="#now-you-can-debug-your-code">4. Now you can debug your code</a></li>
|
104
|
-
</ul>
|
105
|
-
</li>
|
106
|
-
</ul>
|
107
|
-
</ul>
|
108
|
-
</li>
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
<li>
|
115
|
-
<a href="how_to_create_a_new_project_in_eclipse.html" title="Previous Chapter: How to create a new project in Eclipse"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« How to create...</span>
|
116
|
-
</a>
|
117
|
-
</li>
|
118
|
-
<li>
|
119
|
-
<a href="../vs/vs.html" title="Next Chapter: Visual Studio"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Visual Studio »</span>
|
120
|
-
</a>
|
121
|
-
</li>
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
</ul>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
<form class="navbar-form navbar-right" action="../../search.html" method="get">
|
132
|
-
<div class="form-group">
|
133
|
-
<input type="text" name="q" class="form-control" placeholder="Search" />
|
134
|
-
</div>
|
135
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
136
|
-
<input type="hidden" name="area" value="default" />
|
137
|
-
</form>
|
138
|
-
|
139
|
-
</div>
|
140
|
-
</div>
|
141
|
-
</div>
|
142
|
-
|
143
|
-
<div class="container">
|
144
|
-
<div class="row">
|
145
|
-
<div class="col-md-12">
|
146
|
-
|
147
|
-
<div class="section" id="how-to-debug-in-eclipse">
|
148
|
-
<h1>How to debug in Eclipse<a class="headerlink" href="#how-to-debug-in-eclipse" title="Permalink to this headline">¶</a></h1>
|
149
|
-
<p>The following example is made with Eclipse Mars, <strong>Cygwin</strong>, <strong>gcc</strong> and <strong>gdb</strong>. However, the same applies to all other compilers and
|
150
|
-
environments, too.</p>
|
151
|
-
<div class="section" id="compile-with-debug-information">
|
152
|
-
<h2>1. Compile with debug information<a class="headerlink" href="#compile-with-debug-information" title="Permalink to this headline">¶</a></h2>
|
153
|
-
<p>Don’t forget this. Otherwise sources symbols cannot not mapped.</p>
|
154
|
-
<img alt="../../_images/debug_flag.png" src="../../_images/debug_flag.png" />
|
155
|
-
</div>
|
156
|
-
<div class="section" id="create-a-debug-configuration-for-a-c-application">
|
157
|
-
<h2>2. Create a debug configuration for a C++ application<a class="headerlink" href="#create-a-debug-configuration-for-a-c-application" title="Permalink to this headline">¶</a></h2>
|
158
|
-
<p>This options can be found under Run->Debug Configurations... or click on the arrow next to the green spider.</p>
|
159
|
-
<img alt="../../_images/debug_app.png" src="../../_images/debug_app.png" />
|
160
|
-
<div class="line-block">
|
161
|
-
<div class="line">Choose a suitable name and the executable.</div>
|
162
|
-
</div>
|
163
|
-
</div>
|
164
|
-
<div class="section" id="add-path-mapping">
|
165
|
-
<h2>3. Add path mapping<a class="headerlink" href="#add-path-mapping" title="Permalink to this headline">¶</a></h2>
|
166
|
-
<img alt="../../_images/debug_path.png" src="../../_images/debug_path.png" />
|
167
|
-
<img alt="../../_images/debug_map.png" src="../../_images/debug_map.png" />
|
168
|
-
<div class="line-block">
|
169
|
-
<div class="line">Note that this must be done if the compiler uses different paths than Eclipse. In this example I have used gcc under Cygwin,</div>
|
170
|
-
<div class="line">which typically uses “/cygdrive/c” for “c:\”. I always mount “c:\” to “/c”.</div>
|
171
|
-
<div class="line"><br /></div>
|
172
|
-
<div class="line">Also note, that my Eclipse changes “/c” to “\c” in the dialog box automatically, but it works nevertheless.</div>
|
173
|
-
</div>
|
174
|
-
</div>
|
175
|
-
<div class="section" id="now-you-can-debug-your-code">
|
176
|
-
<h2>4. Now you can debug your code<a class="headerlink" href="#now-you-can-debug-your-code" title="Permalink to this headline">¶</a></h2>
|
177
|
-
<img alt="../../_images/debug_debug.png" src="../../_images/debug_debug.png" />
|
178
|
-
</div>
|
179
|
-
</div>
|
180
|
-
|
181
|
-
|
182
|
-
</div>
|
183
|
-
|
184
|
-
</div>
|
185
|
-
</div>
|
186
|
-
<footer class="footer">
|
187
|
-
<div class="container">
|
188
|
-
<p class="pull-right">
|
189
|
-
<a href="#">Back to top</a>
|
190
|
-
|
191
|
-
</p>
|
192
|
-
<p>
|
193
|
-
© Copyright 2016, E.S.R.Labs AG.<br/>
|
194
|
-
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
195
|
-
</p>
|
196
|
-
</div>
|
197
|
-
</footer>
|
198
|
-
</body>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
+
|
8
|
+
<title>How to debug in Eclipse — bake documentation</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="../../_static/basic.css" type="text/css" />
|
11
|
+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
+
<link rel="stylesheet" href="../../_static/bootswatch-3.3.4/sandstone/bootstrap.min.css" type="text/css" />
|
13
|
+
<link rel="stylesheet" href="../../_static/bootstrap-sphinx.css" type="text/css" />
|
14
|
+
|
15
|
+
<script type="text/javascript">
|
16
|
+
var DOCUMENTATION_OPTIONS = {
|
17
|
+
URL_ROOT: '../../',
|
18
|
+
VERSION: '',
|
19
|
+
COLLAPSE_INDEX: false,
|
20
|
+
FILE_SUFFIX: '.html',
|
21
|
+
HAS_SOURCE: true
|
22
|
+
};
|
23
|
+
</script>
|
24
|
+
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
25
|
+
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
|
+
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
|
+
<script type="text/javascript" src="../../_static/js/jquery-1.11.0.min.js"></script>
|
28
|
+
<script type="text/javascript" src="../../_static/js/jquery-fix.js"></script>
|
29
|
+
<script type="text/javascript" src="../../_static/bootstrap-3.3.4/js/bootstrap.min.js"></script>
|
30
|
+
<script type="text/javascript" src="../../_static/bootstrap-sphinx.js"></script>
|
31
|
+
<link rel="shortcut icon" href="../../_static/logo_tiny_32.ico"/>
|
32
|
+
<link rel="top" title="bake documentation" href="../../index.html" />
|
33
|
+
<link rel="up" title="Eclipse" href="eclipse.html" />
|
34
|
+
<link rel="next" title="Visual Studio" href="../vs/vs.html" />
|
35
|
+
<link rel="prev" title="How to create a new project in Eclipse" href="how_to_create_a_new_project_in_eclipse.html" />
|
36
|
+
<meta charset='utf-8'>
|
37
|
+
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
38
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
|
39
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
40
|
+
|
41
|
+
</head>
|
42
|
+
<body role="document">
|
43
|
+
|
44
|
+
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
|
45
|
+
<div class="container">
|
46
|
+
<div class="navbar-header">
|
47
|
+
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
|
48
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
|
49
|
+
<span class="icon-bar"></span>
|
50
|
+
<span class="icon-bar"></span>
|
51
|
+
<span class="icon-bar"></span>
|
52
|
+
</button>
|
53
|
+
<a class="navbar-brand" href="../../index.html"><img src="../../_static/logo_tiny_48.png">
|
54
|
+
</a>
|
55
|
+
<span class="navbar-text navbar-version pull-left"><b></b></span>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<div class="collapse navbar-collapse nav-collapse">
|
59
|
+
<ul class="nav navbar-nav">
|
60
|
+
|
61
|
+
|
62
|
+
<li class="dropdown globaltoc-container">
|
63
|
+
<a role="button"
|
64
|
+
id="dLabelGlobalToc"
|
65
|
+
data-toggle="dropdown"
|
66
|
+
data-target="#"
|
67
|
+
href="../../index.html">Section <b class="caret"></b></a>
|
68
|
+
<ul class="dropdown-menu globaltoc"
|
69
|
+
role="menu"
|
70
|
+
aria-labelledby="dLabelGlobalToc"><ul class="current">
|
71
|
+
<li class="toctree-l1"><a class="reference internal" href="../../why_bake/why_bake.html">Why you should use bake</a></li>
|
72
|
+
<li class="toctree-l1"><a class="reference internal" href="../../install/install_bake.html">Install bake</a></li>
|
73
|
+
<li class="toctree-l1"><a class="reference internal" href="../../quickstart/quickstart.html">Quickstart</a></li>
|
74
|
+
<li class="toctree-l1"><a class="reference internal" href="../../concepts/concepts.html">Concepts</a></li>
|
75
|
+
<li class="toctree-l1"><a class="reference internal" href="../../syntax/syntax.html">Syntax</a></li>
|
76
|
+
<li class="toctree-l1"><a class="reference internal" href="../../commandline/commandline.html">Commandline</a></li>
|
77
|
+
<li class="toctree-l1 current"><a class="reference internal" href="../ide_integrations.html">IDE Support</a></li>
|
78
|
+
<li class="toctree-l1"><a class="reference internal" href="../../tips_and_tricks/tips_and_tricks.html">Additional features</a></li>
|
79
|
+
<li class="toctree-l1"><a class="reference internal" href="../../performance/performance.html">Performance</a></li>
|
80
|
+
<li class="toctree-l1"><a class="reference internal" href="../../known_issues.html">Known Issues</a></li>
|
81
|
+
<li class="toctree-l1"><a class="reference internal" href="../../changelog.html">Changelog</a></li>
|
82
|
+
<li class="toctree-l1"><a class="reference internal" href="../../license.html">License</a></li>
|
83
|
+
</ul>
|
84
|
+
<ul>
|
85
|
+
<li class="toctree-l1"><a class="reference internal" href="../../internal.html">Internal developing notes</a></li>
|
86
|
+
</ul>
|
87
|
+
</ul>
|
88
|
+
</li>
|
89
|
+
|
90
|
+
<li class="dropdown">
|
91
|
+
<a role="button"
|
92
|
+
id="dLabelLocalToc"
|
93
|
+
data-toggle="dropdown"
|
94
|
+
data-target="#"
|
95
|
+
href="#">SubSections <b class="caret"></b></a>
|
96
|
+
<ul class="dropdown-menu localtoc"
|
97
|
+
role="menu"
|
98
|
+
aria-labelledby="dLabelLocalToc"><ul>
|
99
|
+
<li><a class="reference internal" href="#">How to debug in Eclipse</a><ul>
|
100
|
+
<li><a class="reference internal" href="#compile-with-debug-information">1. Compile with debug information</a></li>
|
101
|
+
<li><a class="reference internal" href="#create-a-debug-configuration-for-a-c-application">2. Create a debug configuration for a C++ application</a></li>
|
102
|
+
<li><a class="reference internal" href="#add-path-mapping">3. Add path mapping</a></li>
|
103
|
+
<li><a class="reference internal" href="#now-you-can-debug-your-code">4. Now you can debug your code</a></li>
|
104
|
+
</ul>
|
105
|
+
</li>
|
106
|
+
</ul>
|
107
|
+
</ul>
|
108
|
+
</li>
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
<li>
|
115
|
+
<a href="how_to_create_a_new_project_in_eclipse.html" title="Previous Chapter: How to create a new project in Eclipse"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« How to create...</span>
|
116
|
+
</a>
|
117
|
+
</li>
|
118
|
+
<li>
|
119
|
+
<a href="../vs/vs.html" title="Next Chapter: Visual Studio"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Visual Studio »</span>
|
120
|
+
</a>
|
121
|
+
</li>
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
</ul>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
<form class="navbar-form navbar-right" action="../../search.html" method="get">
|
132
|
+
<div class="form-group">
|
133
|
+
<input type="text" name="q" class="form-control" placeholder="Search" />
|
134
|
+
</div>
|
135
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
136
|
+
<input type="hidden" name="area" value="default" />
|
137
|
+
</form>
|
138
|
+
|
139
|
+
</div>
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
<div class="container">
|
144
|
+
<div class="row">
|
145
|
+
<div class="col-md-12">
|
146
|
+
|
147
|
+
<div class="section" id="how-to-debug-in-eclipse">
|
148
|
+
<h1>How to debug in Eclipse<a class="headerlink" href="#how-to-debug-in-eclipse" title="Permalink to this headline">¶</a></h1>
|
149
|
+
<p>The following example is made with Eclipse Mars, <strong>Cygwin</strong>, <strong>gcc</strong> and <strong>gdb</strong>. However, the same applies to all other compilers and
|
150
|
+
environments, too.</p>
|
151
|
+
<div class="section" id="compile-with-debug-information">
|
152
|
+
<h2>1. Compile with debug information<a class="headerlink" href="#compile-with-debug-information" title="Permalink to this headline">¶</a></h2>
|
153
|
+
<p>Don’t forget this. Otherwise sources symbols cannot not mapped.</p>
|
154
|
+
<img alt="../../_images/debug_flag.png" src="../../_images/debug_flag.png" />
|
155
|
+
</div>
|
156
|
+
<div class="section" id="create-a-debug-configuration-for-a-c-application">
|
157
|
+
<h2>2. Create a debug configuration for a C++ application<a class="headerlink" href="#create-a-debug-configuration-for-a-c-application" title="Permalink to this headline">¶</a></h2>
|
158
|
+
<p>This options can be found under Run->Debug Configurations... or click on the arrow next to the green spider.</p>
|
159
|
+
<img alt="../../_images/debug_app.png" src="../../_images/debug_app.png" />
|
160
|
+
<div class="line-block">
|
161
|
+
<div class="line">Choose a suitable name and the executable.</div>
|
162
|
+
</div>
|
163
|
+
</div>
|
164
|
+
<div class="section" id="add-path-mapping">
|
165
|
+
<h2>3. Add path mapping<a class="headerlink" href="#add-path-mapping" title="Permalink to this headline">¶</a></h2>
|
166
|
+
<img alt="../../_images/debug_path.png" src="../../_images/debug_path.png" />
|
167
|
+
<img alt="../../_images/debug_map.png" src="../../_images/debug_map.png" />
|
168
|
+
<div class="line-block">
|
169
|
+
<div class="line">Note that this must be done if the compiler uses different paths than Eclipse. In this example I have used gcc under Cygwin,</div>
|
170
|
+
<div class="line">which typically uses “/cygdrive/c” for “c:\”. I always mount “c:\” to “/c”.</div>
|
171
|
+
<div class="line"><br /></div>
|
172
|
+
<div class="line">Also note, that my Eclipse changes “/c” to “\c” in the dialog box automatically, but it works nevertheless.</div>
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
<div class="section" id="now-you-can-debug-your-code">
|
176
|
+
<h2>4. Now you can debug your code<a class="headerlink" href="#now-you-can-debug-your-code" title="Permalink to this headline">¶</a></h2>
|
177
|
+
<img alt="../../_images/debug_debug.png" src="../../_images/debug_debug.png" />
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
|
182
|
+
</div>
|
183
|
+
|
184
|
+
</div>
|
185
|
+
</div>
|
186
|
+
<footer class="footer">
|
187
|
+
<div class="container">
|
188
|
+
<p class="pull-right">
|
189
|
+
<a href="#">Back to top</a>
|
190
|
+
|
191
|
+
</p>
|
192
|
+
<p>
|
193
|
+
© Copyright 2016, E.S.R.Labs AG.<br/>
|
194
|
+
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
195
|
+
</p>
|
196
|
+
</div>
|
197
|
+
</footer>
|
198
|
+
</body>
|
199
199
|
</html>
|