|
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 that can be used during |
|
11 software development. With tracing, you can generate detailed, low-level |
|
12 information about an application's execution in the target device.</p> |
|
13 <p>Examples of tracing are cases when messages are sent or received from a |
|
14 component, when states change, when a certain function is entered or |
|
15 exited, or anywhere else in the code where it is interesting to know if code |
|
16 has been executed or not.</p> |
|
17 <p>System level performance analysis and problem-solving are often based on |
|
18 tracing. In your development team, a standard way to instrument traces to |
|
19 your code (for example, using the same trace group for fatal error |
|
20 tracing) can help in determining which level of traces should be activated. |
|
21 </p> |
|
22 <p><b>Note:</b> there is a distinction between <i>tracing</i> and <i> |
|
23 logging</i> as general terms. Tracing is primarily for debugging and diagnostic |
|
24 purposes, whereas logging writes records of program usage and is often a functional |
|
25 requirement of a program.</p> |
|
26 |
|
27 <h5>Related concepts</h5> |
|
28 <ul> |
|
29 <li><a href="trace_format.htm">Open System Trace (OST)</a></li> |
|
30 </ul> |
|
31 |
|
32 <h5>Related tasks</h5> |
|
33 <ul> |
|
34 <li><a href="../tasks/addingtraces.htm">Adding traces to the source code</a></li> |
|
35 <li><a href="../tasks/addingparameters.htm">Adding parameters to existing traces</a></li> |
|
36 </ul> |
|
37 |
|
38 <div id="footer">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
|
39 License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.</div> |
|
40 </body> |
|
41 </html> |