File: cdt_t_jumperror.htm

package info (click to toggle)
eclipse-cdt 8.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 150,024 kB
  • ctags: 159,512
  • sloc: java: 1,087,138; xml: 54,281; ansic: 5,236; cpp: 5,123; makefile: 1,338; sh: 189; asm: 42; f90: 22
file content (58 lines) | stat: -rw-r--r-- 2,795 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Jumping to errors</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>

<body>

<div role="main"><h1>Jumping to errors</h1>

<p>The CDT will parse the output from the make and compiler/linker. If the CDT can 
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> decorated with
error <img src="../images/icon_error.gif" alt="Error"> or warning <img src="../images/icon_warning.gif" alt="Warning"> icon.
Informational messages are marked with Info <img src="../images/icon_info.gif" alt="Info"> 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 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>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 src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br><a href="../concepts/cdt_c_build_over.htm">Build overview</a>
</p>

<p><img src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br><a href="cdt_o_builderrors.htm">Tracking down compilation errors</a>
<br><a href="../tasks/cdt_t_proj_error_parser.htm">Tuning Error Parsers</a>
</p>

<p><img src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<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" >
</div></body>

</html>