Skip to main content
summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gvozdev2010-06-02 01:00:58 -0400
committerAndrew Gvozdev2010-06-02 01:00:58 -0400
commite4024a7d2bfa645b5f238f33638a441de0920b74 (patch)
treed8a352df14a73ffe4def865f33c1c8b962e09c04 /doc
parent6a74b5482fc47f33fd83cfafbb778495c61c0f15 (diff)
downloadorg.eclipse.cdt-e4024a7d2bfa645b5f238f33638a441de0920b74.tar.gz
org.eclipse.cdt-e4024a7d2bfa645b5f238f33638a441de0920b74.tar.xz
org.eclipse.cdt-e4024a7d2bfa645b5f238f33638a441de0920b74.zip
bug 289168: Updated outdated documentation on Jumping to errors
Diffstat (limited to 'doc')
-rw-r--r--doc/org.eclipse.cdt.doc.user/tasks/cdt_t_jumperror.htm42
1 files changed, 25 insertions, 17 deletions
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_jumperror.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_jumperror.htm
index 3bf77fa8d8..437c4e7348 100644
--- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_jumperror.htm
+++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_jumperror.htm
@@ -15,34 +15,42 @@
<h1>Jumping to errors</h1>
<p>The CDT will parse the output from the make and compiler/linker. If the CDT can
-determine the location of an error, it is added to the Console view.</p>
-
-<p>To jump to the source of an error:</p>
+determine an error or a warning, the line is highlighted in the Console view and added
+to the Problems view as a <strong>Problem Marker</strong> adorned with
+error<img border="0" src="../images/error_icon.gif" align="bottom" alt="Error icon" width="30" height="18">
+or warning<img border="0" src="../images/warning_icon.gif" alt="Warning icon" width="30" height="18"> icon.
+</p>
+<p>To jump to the source of an error do one of the following:</p>
<ul>
- <li><p>In the Console view, double-click the <strong>Error</strong> icon<img border="0" src="../images/error_icon.gif" align="bottom" alt="Error icon" width="30" height="18">or
- the <strong>Warning</strong> icon<img border="0" src="../images/warning_icon.gif" alt="Warning icon" width="30" height="18">.</p>
- <p>The file opens in the C/C++ editor and the cursor moves to the line with the error.</p>
- </li>
+ <li><p>In the Console view, double-click the highlighted line.</li>
+ <li><p>In the Problems view, double-click the row of the specific error in the table.</li>
+ <li><p>If in the Problems view the error is identified as <strong>External Location</strong> in Location column,
+ use mouse right-click on it, then click on <strong>Open external location</strong> item in the context menu.</li>
</ul>
+<p>If CDT can determine file and error line and the file exists - the file opens in the C/C++ editor and the cursor moves to the line with the error.</p>
<p>To jump to errors sequentially:</p>
-
<ul>
- <li>Click <strong>Jump to next</strong> or <strong>Jump to previous</strong>. </li>
+ <li>In Editor use Next Annotation <img src="../images/icon_annotation_next.png" alt="Next Annotation">
+ or Previous Annotation <img src="../images/icon_annotation_prev.png" alt="Previous Annotation"> icons on the toolbar. </li>
+ <li>In Console view use Next Error <img src="../images/icon_next_error.png" alt="Next Error">
+ or Previous Error <img src="../images/icon_prev_error.png" alt="Previous Error"> buttons. </li>
</ul>
-
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
-<br>
-<a href="../concepts/cdt_c_build_over.htm">Build overview</a></p>
+<br><a href="../concepts/cdt_c_build_over.htm">Build overview</a>
+</p>
+
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
-<br>
-<a href="cdt_t_proj_build_set.htm">Defining Project Build settings</a><br>
-<a href="cdt_t_filtererror.htm">Filtering the Problems view</a><br>
+<br><a href="cdt_o_builderrors.htm">Tracking down compilation errors</a>
+</p>
+
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
-<br>
-<a href="../reference/cdt_o_run_dbg_pages.htm">Run and Debug dialog box</a></p>
+<br><a href="../reference/cdt_u_console_view.htm">Console View</a>
+<br><a href="../reference/cdt_u_problems_view.htm">Problems View</a>
+</p>
+
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
</body>

Back to the top