trace/traceviewer/com.nokia.traceviewer.help/html/concepts/tracing.htm
changeset 11 5b9d4d8641ce
equal deleted inserted replaced
10:ed1c9f64298a 11:5b9d4d8641ce
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
       
     2 <html>
       
     3 <head>
       
     4 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
       
     5 <title>Tracing</title>
       
     6 <link href="../../book.css" type="text/css" rel="stylesheet"></head>
       
     7 <body>
       
     8 
       
     9 <h2>Tracing</h2>
       
    10 <p>Tracing is a way to record debugging information
       
    11 that can be used during software development. With tracing, you can generate
       
    12 detailed, low-level information about an application's execution in the target
       
    13 device.</p>
       
    14 <p>Examples of tracing are cases when messages are sent or received
       
    15 from a component, when states change, when a certain function is entered or
       
    16 exited, or anywhere else in the code where it is interesting to know if code
       
    17 has been executed or not.</p>
       
    18 <p>System level performance analysis and problem-solving
       
    19 are often based on tracing. In your development team, a standard way to instrument
       
    20 traces to your code (for example, using the same trace group for fatal error
       
    21 tracing) can help in determining which level of traces should be activated. 
       
    22 </p>
       
    23 <p>TraceViewer collects traces as follows:</p>
       
    24 <ol>
       
    25 <li>TraceViewer connects to the device according to the connection parameters
       
    26 that can be defined on the <b>Preferences</b> page. </li>
       
    27 <li>The tool then collects the traces for a specified purpose (for example,
       
    28 during the testing of a certain component at the device side). </li>
       
    29 <li>The traces are displayed on the Carbide IDE user interface.</li>
       
    30 </ol>
       
    31 
       
    32 <p><b>Note:</b> there is a distinction between <i>tracing</i> and <i>
       
    33 logging</i> as general terms. Tracing is primarily for debugging and diagnostic
       
    34 purposes, whereas logging writes records of program usage and is often a functional
       
    35 requirement of a program.</p>
       
    36 
       
    37 <h5>Related concepts</h5>
       
    38 <ul>
       
    39 	<li><a href="trace_format.htm">Trace formats</a></li>
       
    40 </ul>
       
    41 
       
    42 <h5>Related tasks</h5>
       
    43 <ul>
       
    44 	<li><a href="../tasks/connect.htm">Connecting to the trace source</a></li>
       
    45 	<li><a href="../tasks/decoding_traces.htm">Decoding binary traces with a Dictionary file</a></li>
       
    46 	<li><a href="../tasks/traceactivation.htm">Activating traces</a></li>
       
    47 </ul>
       
    48 
       
    49 <div id="footer">Copyright &copy; 2007-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 
       
    50 License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.</div>
       
    51 </body>
       
    52 </html>