[Bug 310371] Revised Executables and Console views
|
@ -116,8 +116,7 @@
|
||||||
<!-- Note: context id for console view is defined in org.eclipse.ui.console -->
|
<!-- Note: context id for console view is defined in org.eclipse.ui.console -->
|
||||||
<context id ="console_view_context">
|
<context id ="console_view_context">
|
||||||
<description>Click below to see help.</description>
|
<description>Click below to see help.</description>
|
||||||
<topic href="reference/cdt_u_console_view.htm"
|
<topic href="reference/cdt_u_console_view.htm" label="Console view (C/C++)"/>
|
||||||
label="&consoleView;"/>
|
|
||||||
</context>
|
</context>
|
||||||
|
|
||||||
<context id ="executables_View_context">
|
<context id ="executables_View_context">
|
||||||
|
|
BIN
doc/org.eclipse.cdt.doc.user/images/icon_clear_console.png
Executable file
After Width: | Height: | Size: 803 B |
BIN
doc/org.eclipse.cdt.doc.user/images/icon_next_error.png
Executable file
After Width: | Height: | Size: 602 B |
BIN
doc/org.eclipse.cdt.doc.user/images/icon_open_console.png
Executable file
After Width: | Height: | Size: 782 B |
BIN
doc/org.eclipse.cdt.doc.user/images/icon_prev_error.png
Executable file
After Width: | Height: | Size: 598 B |
BIN
doc/org.eclipse.cdt.doc.user/images/icon_save_output_file.png
Executable file
After Width: | Height: | Size: 795 B |
BIN
doc/org.eclipse.cdt.doc.user/images/icon_show_error.png
Executable file
After Width: | Height: | Size: 599 B |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 24 KiB |
|
@ -6,92 +6,136 @@
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
<title>Console view</title>
|
<title>Console view</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||||
|
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Console view</h1>
|
<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>
|
<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>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Standard output</li>
|
<li>Standard output</li>
|
||||||
<li>Standard error</li>
|
<li>Standard error</li>
|
||||||
<li>Standard input</li>
|
<li>Standard input</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>You can choose the different colors for these kinds of text on the preferences pages
|
<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.
|
||||||
(<strong>Window > Preferences > Debug > Console</strong>).
|
|
||||||
</p>
|
</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>
|
||||||
|
|
||||||
<p>When you right-click in the <strong>Console</strong> view
|
<table border="1" cellpadding="4" cellspacing="0" bordercolor="#DDDDDD" width="600px">
|
||||||
(or when you press <strong>Shift+F10</strong> when the focus is on the <strong>Console</strong> view),
|
<colgroup>
|
||||||
you see the following options:
|
<col width="5%" valign="top" >
|
||||||
</p>
|
<col width="20%" valign="top" >
|
||||||
<dl>
|
<col width="75%" valign="top" >
|
||||||
<dt>Edit options: Cut, Copy, Paste, Select All</dt>
|
</colgroup>
|
||||||
<dd>These options perform the standard edit operations.
|
<colhead>
|
||||||
Which options are available depends on where the focus is in the
|
<th>Icon</th>
|
||||||
<strong>Console</strong> view.
|
<th>Name</th>
|
||||||
For example, you cannot paste text into the program output,
|
<th>Description</th>
|
||||||
but you can paste text to the bottom of the file.
|
</colhead>
|
||||||
</dd>
|
<tr>
|
||||||
<dt>Find/Replace</dt>
|
<td align="center" valign="top"><img src="../images/icon_next_error.png" alt="next error icon"></td>
|
||||||
<dd>Opens a <strong>Find/Replace</strong> dialog
|
<td valign="top">Next Error</td>
|
||||||
that operates only on the text in the <strong>Console</strong> view.</dd>
|
<td valign="top">Show the next error in the Console view.</td>
|
||||||
<dt>Go to Line</dt>
|
</tr>
|
||||||
<dd>Opens a dialog that moves the focus to the line you specify.
|
<tr>
|
||||||
The dialog also indicates the total number of lines in the console buffer.
|
<td align="center" valign="top"><img src="../images/icon_prev_error.png" alt="previous error icon"></td>
|
||||||
</dd>
|
<td valign="top">Previous Error</td>
|
||||||
<dt>Terminate</dt>
|
<td valign="top">Show the previous error in the Console view.</td>
|
||||||
<dd>Terminates the process that is currently associated with the console.</dd>
|
</tr>
|
||||||
</dl>
|
<tr>
|
||||||
|
<td align="center" valign="top"><img src="../images/icon_show_error.png" alt="show error icon"></td>
|
||||||
<h2>Console View Toolbar</h2>
|
<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>
|
||||||
<table border="1" cellpadding="1" cellspacing="0">
|
</tr>
|
||||||
<tr><th>Icon</th><th>Command</th><th>Description</th></tr>
|
<tr>
|
||||||
<tr>
|
<td align="center" valign="top"><img src="../images/icon_save_output_file.png" alt="save output file icon"></td>
|
||||||
<td align="center" valign="top"><img src="../images/icon_con_terminate.png" alt="Terminate icon"></td>
|
<td valign="top">Save Console Output to File</td>
|
||||||
<td valign="top">Terminate</td>
|
<td valign="top">Opens the <strong>Properties for Project > C/C++ Build </strong> dialog box where you can specify the Build output file location.</td>
|
||||||
<td valign="top">Terminates the process that is currently associated with the console.</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
<tr>
|
<td align="center" valign="top"><img src="../images/icon_con_scroll_lock.png" alt="Scroll Lock icon"></td>
|
||||||
<td align="center" valign="top"><img src="../images/icon_con_rem_all_term.png" alt="Remove all Terminated Launches icon"></td>
|
<td valign="top">Scroll Lock</td>
|
||||||
<td valign="top">Remove all Terminated Launches</td>
|
<td valign="top">Toggles the Scroll Lock.</td>
|
||||||
<td valign="top">Removes all terminated launches that are associated with the console.</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
<tr>
|
<td align="center" valign="top"><img src="../images/icon_clear_console.png" alt="Clear Console icon"></td>
|
||||||
<td align="center" valign="top"><img src="../images/icon_con_scroll_lock.png" alt="Scroll Lock icon"></td>
|
<td valign="top">Clear Console</td>
|
||||||
<td valign="top">Scroll Lock</td>
|
<td valign="top">Clears the current console.</td>
|
||||||
<td valign="top">Toggles the Scroll Lock.</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
<tr>
|
<td align="center" valign="top"><img src="../images/icon_con_pin.png" alt="Pin Console icon"></td>
|
||||||
<td align="center" valign="top"><img src="../images/icon_con_clear.png" alt="Clear Console icon"></td>
|
<td valign="top">Pin Console</td>
|
||||||
<td valign="top">Clear Console</td>
|
<td valign="top">Forces the Console view to remain on top of other views in the window area.</td>
|
||||||
<td valign="top">Clears the console.</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
<td align="center" valign="top"><img src="../images/icon_con_pin.png" alt="Pin Console icon"></td>
|
<td align="center" valign="top"><img src="../images/icon_con_disp_console.png" alt="Display Selected Console icon"></td>
|
||||||
<td valign="top">Pin Console</td>
|
<td valign="top">Display Selected Console</td>
|
||||||
<td valign="top">Forces the Console view to remain on top of other views in the window area.</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_con_disp_console.png" alt="Display Selected Console icon"></td>
|
<tr>
|
||||||
<td valign="top">Display Selected Console</td>
|
<td align="center" valign="top"><img src="../images/icon_open_console.png" alt="open Console icon"></td>
|
||||||
<td valign="top">If multiple consoles are open, you can select the one to display from a list.</td>
|
<td valign="top">Open Console</td>
|
||||||
</tr>
|
<td valign="top">Opens a new console to display the log for: <br />
|
||||||
<td align="center" valign="top"><img src="../images/icon_con_min.png" alt="Minimize Console icon"></td>
|
<ul>
|
||||||
<td valign="top">Minimize Console</td>
|
<li>New Console View</li>
|
||||||
<td valign="top">Minimizes the Console view.</td>
|
<li>Program Output Console</li>
|
||||||
</tr>
|
<li>Windows Program Output Console</li>
|
||||||
<td align="center" valign="top"><img src="../images/icon_con_max.png" alt="Maximize Console icon"></td>
|
<li>CVS, and others based on installed features</li>
|
||||||
<td valign="top">Maximize Console</td>
|
</ul></td>
|
||||||
<td valign="top">Maximizes the Console view.</td>
|
</tr>
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
</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 one or more of the following options in a context menu depending on the console view visible:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<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>
|
<p>
|
||||||
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement"> <br>
|
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement"> <br>
|
||||||
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
||||||
|
|
|
@ -6,10 +6,12 @@
|
||||||
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
|
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
|
||||||
<title>Executables view</title>
|
<title>Executables view</title>
|
||||||
<link rel="StyleSheet" href="../help.css" type="text/css"/>
|
<link rel="StyleSheet" href="../help.css" type="text/css"/>
|
||||||
|
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body bgcolor="#FFFFFF">
|
<body bgcolor="#FFFFFF">
|
||||||
<h2>Executables view </h2>
|
<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>
|
<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>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>
|
<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>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>
|
<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>
|
</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><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>
|
<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>
|
<caption><strong>Executables View Options</strong></caption>
|
||||||
<tr>
|
<tr>
|
||||||
<th width="17%" scope="col">Pane</th>
|
<th width="20%" scope="col">Pane</th>
|
||||||
<th width="83%" scope="col">Explanation</th>
|
<th width="80%" scope="col">Explanation</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr valign="top" >
|
||||||
<td><strong>Executable Name </strong></td>
|
<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>
|
<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>
|
<ul>
|
||||||
|
@ -43,7 +45,7 @@
|
||||||
</ul>
|
</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>
|
<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>
|
<tr valign="top" >
|
||||||
<td><strong>Source File Name </strong></td>
|
<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>
|
<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>
|
<ul>
|
||||||
|
@ -53,6 +55,7 @@
|
||||||
<li><strong>Source File Size</strong> - The executable size shown in bytes.</li>
|
<li><strong>Source File Size</strong> - The executable size shown in bytes.</li>
|
||||||
<li><strong>Source File </strong><strong>Date </strong>- The source file′s modification date.</li>
|
<li><strong>Source File </strong><strong>Date </strong>- The source file′s modification date.</li>
|
||||||
<li><strong>Source File Type</strong> - The source type (.h, .inc, etc.) </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>
|
</ul>
|
||||||
<p>Expand a file′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>Expand a file′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>
|
<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>
|
||||||
|
@ -77,6 +80,11 @@
|
||||||
<td>Import an executable file </td>
|
<td>Import an executable file </td>
|
||||||
<td>Click to import an executable not in the workspace into the executables list. </td>
|
<td>Click to import an executable not in the workspace into the executables list. </td>
|
||||||
</tr>
|
</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>
|
<tr>
|
||||||
<td><div align="center"><img src="../images/btn_columns.png" width="14" height="14" alt="columns icon"/></div></td>
|
<td><div align="center"><img src="../images/btn_columns.png" width="14" height="14" alt="columns icon"/></div></td>
|
||||||
<td>Columns</td>
|
<td>Columns</td>
|
||||||
|
@ -87,5 +95,6 @@
|
||||||
<img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> <br>
|
<img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> <br>
|
||||||
<a href="cdt_o_views.htm">Views</a>
|
<a href="cdt_o_views.htm">Views</a>
|
||||||
</p>
|
</p>
|
||||||
|
<hr />
|
||||||
<img src="../images/nokiaCopyright.png" alt="Nokia Copyright Statement" width="375" height="12" ></body>
|
<img src="../images/nokiaCopyright.png" alt="Nokia Copyright Statement" width="375" height="12" ></body>
|
||||||
</html>
|
</html>
|
||||||
|
|