trace/traceviewer/com.nokia.traceviewer.help/html/concepts/tracing.htm
author Jussi Ryoma <ext-jussi.s.ryoma@nokia.com>
Tue, 24 Aug 2010 14:01:48 +0300
changeset 16 72f198be1c1d
parent 11 5b9d4d8641ce
permissions -rw-r--r--
Crash Analyser Carbide Extension 1.4.0

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Tracing</title>
<link href="../../book.css" type="text/css" rel="stylesheet"></head>
<body>

<h2>Tracing</h2>
<p>Tracing is a way to record debugging information
that can be used during software development. With tracing, you can generate
detailed, low-level information about an application's execution in the target
device.</p>
<p>Examples of tracing are cases when messages are sent or received
from a component, when states change, when a certain function is entered or
exited, or anywhere else in the code where it is interesting to know if code
has been executed or not.</p>
<p>System level performance analysis and problem-solving
are often based on tracing. In your development team, a standard way to instrument
traces to your code (for example, using the same trace group for fatal error
tracing) can help in determining which level of traces should be activated. 
</p>
<p>TraceViewer collects traces as follows:</p>
<ol>
<li>TraceViewer connects to the device according to the connection parameters
that can be defined on the <b>Preferences</b> page. </li>
<li>The tool then collects the traces for a specified purpose (for example,
during the testing of a certain component at the device side). </li>
<li>The traces are displayed on the Carbide IDE user interface.</li>
</ol>

<p><b>Note:</b> there is a distinction between <i>tracing</i> and <i>
logging</i> as general terms. Tracing is primarily for debugging and diagnostic
purposes, whereas logging writes records of program usage and is often a functional
requirement of a program.</p>

<h5>Related concepts</h5>
<ul>
	<li><a href="trace_format.htm">Trace formats</a></li>
</ul>

<h5>Related tasks</h5>
<ul>
	<li><a href="../tasks/connect.htm">Connecting to the trace source</a></li>
	<li><a href="../tasks/decoding_traces.htm">Decoding binary traces with a Dictionary file</a></li>
	<li><a href="../tasks/traceactivation.htm">Activating traces</a></li>
</ul>

<div id="footer">Copyright &copy; 2007-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 
License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.</div>
</body>
</html>