Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorL. Frank Turovich2010-04-28 02:59:46 +0000
committerL. Frank Turovich2010-04-28 02:59:46 +0000
commit90380cf9ed79ad155d01a2548c68b5f7abc9b45d (patch)
treea6d68b7e4eed76107c2c70accc5333def90d44b5
parent7fa181c4b6506a41ac8b81d17c40b0319264ad5a (diff)
downloadorg.eclipse.cdt-90380cf9ed79ad155d01a2548c68b5f7abc9b45d.tar.gz
org.eclipse.cdt-90380cf9ed79ad155d01a2548c68b5f7abc9b45d.tar.xz
org.eclipse.cdt-90380cf9ed79ad155d01a2548c68b5f7abc9b45d.zip
[Bug 310371] Revised Executables and Console views
-rw-r--r--doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER.xml3
-rwxr-xr-xdoc/org.eclipse.cdt.doc.user/images/icon_clear_console.pngbin0 -> 803 bytes
-rwxr-xr-xdoc/org.eclipse.cdt.doc.user/images/icon_next_error.pngbin0 -> 602 bytes
-rwxr-xr-xdoc/org.eclipse.cdt.doc.user/images/icon_open_console.pngbin0 -> 782 bytes
-rwxr-xr-xdoc/org.eclipse.cdt.doc.user/images/icon_prev_error.pngbin0 -> 598 bytes
-rwxr-xr-xdoc/org.eclipse.cdt.doc.user/images/icon_save_output_file.pngbin0 -> 795 bytes
-rwxr-xr-xdoc/org.eclipse.cdt.doc.user/images/icon_show_error.pngbin0 -> 599 bytes
-rw-r--r--doc/org.eclipse.cdt.doc.user/images/view_console.pngbin7287 -> 12932 bytes
-rwxr-xr-xdoc/org.eclipse.cdt.doc.user/images/view_executables.pngbin23977 -> 24383 bytes
-rw-r--r--doc/org.eclipse.cdt.doc.user/reference/cdt_u_console_view.htm174
-rw-r--r--doc/org.eclipse.cdt.doc.user/reference/cdt_u_view_executables.htm23
11 files changed, 126 insertions, 74 deletions
diff --git a/doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER.xml b/doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER.xml
index 94e5ba230e..85a30c756b 100644
--- a/doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER.xml
+++ b/doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER.xml
@@ -116,8 +116,7 @@
<!-- Note: context id for console view is defined in org.eclipse.ui.console -->
<context id ="console_view_context">
<description>Click below to see help.</description>
- <topic href="reference/cdt_u_console_view.htm"
- label="&consoleView;"/>
+ <topic href="reference/cdt_u_console_view.htm" label="Console view (C/C++)"/>
</context>
<context id ="executables_View_context">
diff --git a/doc/org.eclipse.cdt.doc.user/images/icon_clear_console.png b/doc/org.eclipse.cdt.doc.user/images/icon_clear_console.png
new file mode 100755
index 0000000000..12fc6d11ba
--- /dev/null
+++ b/doc/org.eclipse.cdt.doc.user/images/icon_clear_console.png
Binary files differ
diff --git a/doc/org.eclipse.cdt.doc.user/images/icon_next_error.png b/doc/org.eclipse.cdt.doc.user/images/icon_next_error.png
new file mode 100755
index 0000000000..bc8f3d7273
--- /dev/null
+++ b/doc/org.eclipse.cdt.doc.user/images/icon_next_error.png
Binary files differ
diff --git a/doc/org.eclipse.cdt.doc.user/images/icon_open_console.png b/doc/org.eclipse.cdt.doc.user/images/icon_open_console.png
new file mode 100755
index 0000000000..5e6881240e
--- /dev/null
+++ b/doc/org.eclipse.cdt.doc.user/images/icon_open_console.png
Binary files differ
diff --git a/doc/org.eclipse.cdt.doc.user/images/icon_prev_error.png b/doc/org.eclipse.cdt.doc.user/images/icon_prev_error.png
new file mode 100755
index 0000000000..5008ac7986
--- /dev/null
+++ b/doc/org.eclipse.cdt.doc.user/images/icon_prev_error.png
Binary files differ
diff --git a/doc/org.eclipse.cdt.doc.user/images/icon_save_output_file.png b/doc/org.eclipse.cdt.doc.user/images/icon_save_output_file.png
new file mode 100755
index 0000000000..e0142150fc
--- /dev/null
+++ b/doc/org.eclipse.cdt.doc.user/images/icon_save_output_file.png
Binary files differ
diff --git a/doc/org.eclipse.cdt.doc.user/images/icon_show_error.png b/doc/org.eclipse.cdt.doc.user/images/icon_show_error.png
new file mode 100755
index 0000000000..a2e6b313fe
--- /dev/null
+++ b/doc/org.eclipse.cdt.doc.user/images/icon_show_error.png
Binary files differ
diff --git a/doc/org.eclipse.cdt.doc.user/images/view_console.png b/doc/org.eclipse.cdt.doc.user/images/view_console.png
index ea28196520..e9e37b978b 100644
--- a/doc/org.eclipse.cdt.doc.user/images/view_console.png
+++ b/doc/org.eclipse.cdt.doc.user/images/view_console.png
Binary files differ
diff --git a/doc/org.eclipse.cdt.doc.user/images/view_executables.png b/doc/org.eclipse.cdt.doc.user/images/view_executables.png
index 64c8baa99b..ab178e5c63 100755
--- a/doc/org.eclipse.cdt.doc.user/images/view_executables.png
+++ b/doc/org.eclipse.cdt.doc.user/images/view_executables.png
Binary files differ
diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_console_view.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_console_view.htm
index f00a4ce113..9c23b5dbab 100644
--- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_console_view.htm
+++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_console_view.htm
@@ -6,92 +6,136 @@
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Console view</title>
<link rel="stylesheet" type="text/css" href="../help.css">
+<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body>
<h1>Console view</h1>
-<p>This view shows the output of the execution of your program and enables you to enter input for the program.
+<p>The <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.ui.console.ConsoleView)")'>Console</a> view displays the output of a process and allows you to provide keyboard input to a process. There are numerous consoles available, see the Open Console dropdown list for those available to you. </p>
<p><img border="0" src="../images/view_console.png" alt="Console View"></p>
-The console shows three different kinds of text, each in a different color:
+The output console shows several different kinds of text, each in a different color:
</p>
<ul>
<li>Standard output</li>
<li>Standard error</li>
<li>Standard input</li>
</ul>
-<p>You can choose the different colors for these kinds of text on the preferences pages
-(<strong>Window &gt; Preferences &gt; Debug &gt; Console</strong>).
+<p>You can choose the different colors for these kinds of text on the <a href="cdt_u_console_pref.htm">Console</a> preferences panel.
</p>
-<h2>Console View Context Menu</h2>
+<h2>Console view toolbar</h2>
+<p>The table below lists the toolbar options displayed in the <strong>Console</strong> view. Note that toolbar options may differ between the various consoles.</p>
+<table border="1" cellpadding="4" cellspacing="0" bordercolor="#DDDDDD" width="600px">
+ <colgroup>
+ <col width="5%" valign="top" >
+ <col width="20%" valign="top" >
+ <col width="75%" valign="top" >
+ </colgroup>
+ <colhead>
+ <th>Icon</th>
+ <th>Name</th>
+ <th>Description</th>
+ </colhead>
+ <tr>
+ <td align="center" valign="top"><img src="../images/icon_next_error.png" alt="next error icon"></td>
+ <td valign="top">Next Error</td>
+ <td valign="top">Show the next error in the Console view.</td>
+ </tr>
+ <tr>
+ <td align="center" valign="top"><img src="../images/icon_prev_error.png" alt="previous error icon"></td>
+ <td valign="top">Previous Error</td>
+ <td valign="top">Show the previous error in the Console view.</td>
+ </tr>
+ <tr>
+ <td align="center" valign="top"><img src="../images/icon_show_error.png" alt="show error icon"></td>
+ <td valign="top">Show Error in Editor</td>
+ <td valign="top">Toggle to show the selected error in the Editor view (default) or not.</td>
+ </tr>
+ <tr>
+ <td align="center" valign="top"><img src="../images/icon_save_output_file.png" alt="save output file icon"></td>
+ <td valign="top">Save Console Output to File</td>
+ <td valign="top">Opens the <strong>Properties for Project &gt C/C++ Build </strong> dialog box where you can specify the Build output file location.</td>
+ </tr>
+ <tr>
+ <td align="center" valign="top"><img src="../images/icon_con_scroll_lock.png" alt="Scroll Lock icon"></td>
+ <td valign="top">Scroll Lock</td>
+ <td valign="top">Toggles the Scroll Lock.</td>
+ </tr>
+ <tr>
+ <td align="center" valign="top"><img src="../images/icon_clear_console.png" alt="Clear Console icon"></td>
+ <td valign="top">Clear Console</td>
+ <td valign="top">Clears the current console.</td>
+ </tr>
+ <tr>
+ <td align="center" valign="top"><img src="../images/icon_con_pin.png" alt="Pin Console icon"></td>
+ <td valign="top">Pin Console</td>
+ <td valign="top">Forces the Console view to remain on top of other views in the window area.</td>
+ </tr>
+ <tr>
+ <td align="center" valign="top"><img src="../images/icon_con_disp_console.png" alt="Display Selected Console icon"></td>
+ <td valign="top">Display Selected Console</td>
+ <td valign="top">If multiple consoles are open, you can select the one to display from a list.</td>
+ </tr>
+ <tr>
+ <td align="center" valign="top"><img src="../images/icon_open_console.png" alt="open Console icon"></td>
+ <td valign="top">Open Console</td>
+ <td valign="top">Opens a new console to display the log for: <br />
+ <ul>
+ <li>New Console View</li>
+ <li>Program Output Console</li>
+ <li>Windows Program Output Console</li>
+ <li>CVS, and others based on installed features</li>
+ </ul></td>
+ </tr>
+
+</table>
+
+<h2>Console view context menu</h2>
<p>When you right-click in the <strong>Console</strong> view
(or when you press <strong>Shift+F10</strong> when the focus is on the <strong>Console</strong> view),
-you see the following options:
+you see one or more of the following options in a context menu depending on the console view visible:
</p>
-<dl>
-<dt>Edit options: Cut, Copy, Paste, Select All</dt>
-<dd>These options perform the standard edit operations.
-Which options are available depends on where the focus is in the
-<strong>Console</strong> view.
-For example, you cannot paste text into the program output,
-but you can paste text to the bottom of the file.
-</dd>
-<dt>Find/Replace</dt>
-<dd>Opens a <strong>Find/Replace</strong> dialog
-that operates only on the text in the <strong>Console</strong> view.</dd>
-<dt>Go to Line</dt>
-<dd>Opens a dialog that moves the focus to the line you specify.
-The dialog also indicates the total number of lines in the console buffer.
-</dd>
-<dt>Terminate</dt>
-<dd>Terminates the process that is currently associated with the console.</dd>
-</dl>
-
-<h2>Console View Toolbar</h2>
-
-<table border="1" cellpadding="1" cellspacing="0">
-<tr><th>Icon</th><th>Command</th><th>Description</th></tr>
-<tr>
-<td align="center" valign="top"><img src="../images/icon_con_terminate.png" alt="Terminate icon"></td>
-<td valign="top">Terminate</td>
-<td valign="top">Terminates the process that is currently associated with the console.</td>
-</tr>
-<tr>
-<td align="center" valign="top"><img src="../images/icon_con_rem_all_term.png" alt="Remove all Terminated Launches icon"></td>
-<td valign="top">Remove all Terminated Launches</td>
-<td valign="top">Removes all terminated launches that are associated with the console.</td>
-</tr>
-<tr>
-<td align="center" valign="top"><img src="../images/icon_con_scroll_lock.png" alt="Scroll Lock icon"></td>
-<td valign="top">Scroll Lock</td>
-<td valign="top">Toggles the Scroll Lock.</td>
-</tr>
-<tr>
-<td align="center" valign="top"><img src="../images/icon_con_clear.png" alt="Clear Console icon"></td>
-<td valign="top">Clear Console</td>
-<td valign="top">Clears the console.</td>
-</tr>
-<td align="center" valign="top"><img src="../images/icon_con_pin.png" alt="Pin Console icon"></td>
-<td valign="top">Pin Console</td>
-<td valign="top">Forces the Console view to remain on top of other views in the window area.</td>
-</tr>
-<td align="center" valign="top"><img src="../images/icon_con_disp_console.png" alt="Display Selected Console icon"></td>
-<td valign="top">Display Selected Console</td>
-<td valign="top">If multiple consoles are open, you can select the one to display from a list.</td>
-</tr>
-<td align="center" valign="top"><img src="../images/icon_con_min.png" alt="Minimize Console icon"></td>
-<td valign="top">Minimize Console</td>
-<td valign="top">Minimizes the Console view.</td>
-</tr>
-<td align="center" valign="top"><img src="../images/icon_con_max.png" alt="Maximize Console icon"></td>
-<td valign="top">Maximize Console</td>
-<td valign="top">Maximizes the Console view.</td>
-</tr>
+<table border="1" cellpadding="4" cellspacing="0" bordercolor="#DDDDDD" width="600px">
+ <colgroup>
+ <col width="30%" valign="top" >
+ <col width="70%" valign="top" >
+ </colgroup>
+ <colhead>
+ <th>Name</th>
+ <th>Description</th>
+ </colhead>
+ <tr>
+ <td><strong>Clear</strong></td>
+ <td>Clears the current console.</td>
+ </tr>
+ <tr valign="top" >
+ <td><strong>Editor options: Cut, Copy, Paste, Select All</td>
+ <td>These options perform the standard edit operations. Which options are available depends on where the focus is in the <strong>Console</strong> view. For example, you cannot paste text into the program output, but you can paste text to the bottom of the file.</td>
+ </tr>
+ <tr>
+ <td><strong>Go to Line</strong></td>
+ <td>Opens a dialog that moves the focus to the line you specify. The dialog also indicates the total number of lines in the console buffer.</td>
+ </tr>
+ <tr>
+ <td><strong>Find/Replace...</strong></td>
+ <td>Opens a <strong>Find/Replace</strong> dialog that operates only on the text in the <strong>Console</strong> view.</td>
+ </tr>
+ <tr>
+ <td><strong>Open Link</strong></td>
+ <td>Select to follow a detected hyperlink in any console view that supports. For example, the CVS console.</td>
+ </tr>
+ <tr>
+ <td><strong>Scroll Lock</strong></td>
+ <td>Toggles the Scroll Lock.</td>
+ </tr>
</table>
+<p><img src="../images/ngref.gif" ALT="Related references" width="143" height="21">
+<br><a href="../reference/cdt_o_views.htm">C/C++ Views and Editors</a></p>
+<hr />
<p>
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement"> <br>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_view_executables.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_view_executables.htm
index 006e78b8e7..3bf55a9909 100644
--- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_view_executables.htm
+++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_view_executables.htm
@@ -6,10 +6,12 @@
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Executables view</title>
<link rel="StyleSheet" href="../help.css" type="text/css"/>
+ <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
+
<body bgcolor="#FFFFFF">
<h2>Executables view </h2>
- <p> The <strong>Executables</strong> view provides a dynamic list of executables and their related source files. The Executables view makes it easy to:</p>
+ <p>The <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.cdt.debug.ui.executablesView)")'>Executables</a> view provides a dynamic list of executables and their related source files. The <strong>Executables</strong> view makes it easy to:</p>
<ul>
<li>target all binaries for debugging because the symbolics are automatically loaded when a bld.inf is imported or a project is created from a template</li>
<li>debug a binary that is not part of a project in the workspace by importing it into the Executables view to load the symbolics</li>
@@ -21,16 +23,16 @@
<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_cproj_view.htm">C/C++ Projects</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.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><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="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#DDD" width="600">
+ <table border="1" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#DDD" width="600">
<caption><strong>Executables View Options</strong></caption>
<tr>
- <th width="17%" scope="col">Pane</th>
- <th width="83%" scope="col">Explanation</th>
+ <th width="20%" scope="col">Pane</th>
+ <th width="80%" scope="col">Explanation</th>
</tr>
- <tr>
+ <tr valign="top" >
<td><strong>Executable Name </strong></td>
<td><p>Displays a list of executables in the workspace as well as other files added by the user. Select an executable to update the Source File Name pane with related files. The executable information shown can include: </p>
<ul>
@@ -43,7 +45,7 @@
</ul>
<p>Click the Columns icon (<img src="../images/btn_columns.png" width="14" height="14" align="absmiddle" alt="columns icon"/>) to set which columns to show in this pane.</p></td>
</tr>
- <tr>
+ <tr valign="top" >
<td><strong>Source File Name </strong></td>
<td><p>Displays a list of source files for the selected executable as extracted from the symbol table. The source file information shown can include: </p>
<ul>
@@ -53,6 +55,7 @@
<li><strong>Source File Size</strong> - The executable size shown in bytes.</li>
<li><strong>Source File </strong><strong>Date </strong>- The source file&prime;s modification date.</li>
<li><strong>Source File Type</strong> - The source type (.h, .inc, etc.) </li>
+ <li><strong>Missing Source Files</strong> - Gray text indicates files not found. Double-click the file to browse for the missing file. </li>
</ul>
<p>Expand a file&prime;s tree control to view the functions and header files used by the file. Double-click to open the source file for editing or to set breakpoints. </p>
<p>Click the Columns icon (<img src="../images/btn_columns.png" width="14" height="14" align="absmiddle" alt="columns icon"/>) to set which columns to show in this pane.</p></td>
@@ -78,6 +81,11 @@
<td>Click to import an executable not in the workspace into the executables list. </td>
</tr>
<tr>
+ <td><div align="center"><img src="../images/icon_remove.png" width="22" height="22" alt="remove executables icon"/></div></td>
+ <td>Remove the selected executables </td>
+ <td>Click to remove the selected executables from the executables list. </td>
+ </tr>
+ <tr>
<td><div align="center"><img src="../images/btn_columns.png" width="14" height="14" alt="columns icon"/></div></td>
<td>Columns</td>
<td>Opens the <strong>Configure Columns</strong> dialog for configuring which columns appear in the Executable and Source File panes. </td>
@@ -87,5 +95,6 @@
<img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> <br>
<a href="cdt_o_views.htm">Views</a>
</p>
+ <hr />
<img src="../images/nokiaCopyright.png" alt="Nokia Copyright Statement" width="375" height="12" ></body>
</html>

Back to the top