mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
minor doc fixes
This commit is contained in:
parent
1dc1732f57
commit
95edce41be
8 changed files with 8 additions and 73 deletions
|
@ -42,7 +42,7 @@ From this view, you can open files for editing or select resources for operation
|
|||
copy, move, create new resources, compare resources, or perform team operations. For a description of what each menu
|
||||
item does, select an item and press F1. </p>
|
||||
|
||||
<p>The Project Explorer view is provided by the Eclipse Platform. See the <a href="../../org.eclipse.platform.doc.user/reference/ref-27.htm">Workbench User Guide</a> for more information.</p>
|
||||
<p>The Project Explorer view is provided by the Eclipse Platform. See the <a href="PLUGINS_ROOT/org.eclipse.platform.doc.user/reference/ref-27.htm">Workbench User Guide</a> for more information.</p>
|
||||
|
||||
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
||||
<br>
|
||||
|
|
|
@ -534,7 +534,7 @@
|
|||
<topic href="tasks/cdt_t_conv_proj.htm" label="Converting a C or C++ nature for a project"/>
|
||||
</context>
|
||||
<context id="cdt_creating_cpp_file_context" title="Creating your C++ file">
|
||||
<topic href="getting_started/cdt_w_creating_cpp_file.html" label="Creating your C++ file"/>
|
||||
<topic href="getting_started/cdt_w_newcpp.htm" label="Creating your C++ file"/>
|
||||
</context>
|
||||
<context id="project_explorer_context" title="Project Explorer">
|
||||
<description>The Project Explorer displays project information.</description>
|
||||
|
|
|
@ -1,65 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<title>Creating your C++ file</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Creating your C++ file</h1>
|
||||
|
||||
<p>Once you have created a new remote C/C++ project, you can begin coding your program.
|
||||
The .cpp file that you create will be saved in the project folder you just created in
|
||||
<a href="creating_a_remote_project.html">Creating a remote project</a>.</p>
|
||||
|
||||
<p>Files are edited in the <strong>Remote C/C++ Editor</strong> located to the right of
|
||||
the <strong>Project Explorer</strong> view. The left margin of the <strong>Remote C/C++ Editor</strong>, called the marker
|
||||
bar, displays icons for items such as bookmarks, breakpoints, and compiler errors and warnings.</p>
|
||||
|
||||
<p>For more information about:</p>
|
||||
<ul>
|
||||
<li>The marker bar, see <strong>Workbench User Guide > Reference > User interface
|
||||
information > Icons and buttons > Editor area marker bar</strong></li>
|
||||
<li>The editor area, see <strong>Workbench User Guide > Reference > User interface
|
||||
information > Views and editors > Editor area</strong></li>
|
||||
</ul>
|
||||
|
||||
<p>To create a C++ file:</p>
|
||||
<ol>
|
||||
<li>In the <strong>Project Explorer</strong> view, right-click a project, and
|
||||
select <strong>New > File > Other</strong>.<br>
|
||||
<img src="../images/create_c_file_01.png"
|
||||
alt="New > File > Other in Projects View"></li>
|
||||
<li>Select <strong>Source file</strong> under <strong>C++</strong>.<br>
|
||||
<img src="../images/create_c_file_02.png"
|
||||
alt="New Source file in New Wizard Dialog"></li>
|
||||
<li>In the <strong>Source File</strong> box, type a name followed by the
|
||||
appropriate extension. Select a template.</li>
|
||||
<li>Click <strong>Finish</strong>.<br>
|
||||
<img src="../images/create_c_file_03.png" alt="New Source File Wizard"></li>
|
||||
<p>The file will open in the Remote C/C++ editor.</p>
|
||||
<li>Enter your code in the editor view.<br>
|
||||
<img src="../images/create_c_file_04.png"
|
||||
alt="Editor view with a sample code"></li>
|
||||
<li>Type <strong>CTRL+S</strong> to save the file.</li>
|
||||
</ol>
|
||||
|
||||
<p>Your new .cpp file is displayed in the <strong>Project Explorer</strong> view. Before you
|
||||
can build your newly created project, you must create a makefile.
|
||||
See <a href="cdt_w_newmake.htm">Creating your makefile</a>.</p>
|
||||
|
||||
<br>
|
||||
|
||||
<span class="bold">Related tasks</span>
|
||||
<br>
|
||||
<a href="cdt_w_newcpp.htm">Creating a C/C++ file</a>
|
||||
<br>
|
||||
|
||||
<span class="bold">Related reference</span>
|
||||
<br>
|
||||
<a href="../reference/cdt_u_editor_view.htm">Editor View</a><br>
|
||||
<br>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -65,7 +65,7 @@ contains main.cpp and makefile. You can now build your HelloWorld project.</p>
|
|||
<img border="0" src="../images/ngback.gif" width="16" height="16" alt="Back icon"></a> <strong><a href="cdt_w_newcpp.htm">Back: Creating your C++ file</a></strong> </p>
|
||||
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
||||
<br>
|
||||
<a href="../concepts/cdt_o_projects.htm">Project</a><br>
|
||||
<a href="../concepts/cdt_c_projects.htm">Project</a><br>
|
||||
<a href="../concepts/cdt_o_code_entry.htm">Code entry</a></p>
|
||||
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
||||
<br>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<img src="../images/trans.gif" border="0" width="25" height="1" alt="">C/C++ Local Application - run application on local host<br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt="">C/C++ Attach to Local Application - attach to already running application on the local host<br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt="">C/C++ Postmortem debugger - run debugger on "core" file<br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_run_gdb_launch_group.htm">Launch Group</a> - launch multiple applications<br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_run_dbg_launch_group.htm">Launch Group</a> - launch multiple applications<br>
|
||||
<p>Launch Configurations common tabs</p>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_run_dbg_main.htm">Main</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_run_dbg_arg.htm">Arguments</a><br>
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
</tr>
|
||||
</table><p></p>
|
||||
|
||||
<p>The Project Explorer view is provided by the Eclipse Platform. See the <a href="../../org.eclipse.platform.doc.user/reference/ref-27.htm">Workbench User Guide</a> for more information.</p>
|
||||
<p>The Project Explorer view is provided by the Eclipse Platform. See the <a href="PLUGINS_ROOT/org.eclipse.platform.doc.user/reference/ref-27.htm">Workbench User Guide</a> for more information.</p>
|
||||
|
||||
<h2>Project Explorer view icons</h2>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<li>view routines and header files used by the source file. Click the tree control to expand or collapse a list of included header files and routine names for fast navigation. </li>
|
||||
<li>find and set breakpoints, watchpoints, and eventpoints in source files. Double-click a source file to open it in an editor view and to review the status of its breakpoints. </li>
|
||||
</ul>
|
||||
<p>In addition, an <strong>Executables</strong> project is created in the <a href="cdt_u_project_explorer_view.htmview_ex">Project Explorer</a> view. The binaries shown in the Executables project can be deleted which also removes them from the Executables view. For binaries outside the workspace you must import them into the Executables view so their symbolics can be used during the debug session. <span class="note">You can also drag and drop executables into the view. </span></p>
|
||||
<p>In addition, an <strong>Executables</strong> project is created in the <a href="cdt_u_project_explorer_view.htm">Project Explorer</a> view. The binaries shown in the Executables project can be deleted which also removes them from the Executables view. For binaries outside the workspace you must import them into the Executables view so their symbolics can be used during the debug session. <span class="note">You can also drag and drop executables into the view. </span></p>
|
||||
<p><img src="../images/view_executables.png" width="813" height="309" alt="Executables view"></p>
|
||||
<p>The <strong>Executables</strong> view consists of the Executable Name and Source File Name panes described in the table below. Use the Columns button in the toolbar to show or hide specific columns in each pane. Columns can be sorted and rearranged in the order desired. </p>
|
||||
<table border="1" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#DDD" width="700">
|
||||
|
|
|
@ -14,13 +14,13 @@
|
|||
|
||||
<h1>Stepping into disassembled code</h1>
|
||||
|
||||
<p>The <a href="../images/cdt_u_dissassembly_view.htm">Disassembly</a> view lets you examine your program as it steps into
|
||||
<p>The <a href="../reference/cdt_u_dissassembly_view.htm">Disassembly</a> view lets you examine your program as it steps into
|
||||
disassembled code. This is useful when the instruction pointer enters a function for which it does not have the source.
|
||||
To open the Disassembly view select <strong>Window > Show View >
|
||||
Disassembly</strong> menu.</p>
|
||||
|
||||
<p>To activate the instruction step mode check the <strong>Instruction Stepping Mode</strong> option (<img src="../images/icon_db_step_mode.png" width="19" height="14" valign="middle" alt="Instruction Stepping Mode icon">)
|
||||
on the <a href="../images/cdt_u_dbg_view.htm">Debug</a> view toolbar. The Debugger switches to the instruction stepping mode automatically
|
||||
on the <a href="../reference/cdt_u_dbg_view.htm">Debug</a> view toolbar. The Debugger switches to the instruction stepping mode automatically
|
||||
when the <strong>Disassembly</strong> view has focus.</p>
|
||||
|
||||
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
||||
|
|
Loading…
Add table
Reference in a new issue