|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
2 <html> |
|
3 <head> |
|
4 <title>Decoding binary traces with a Dictionary file</title> |
|
5 <link href="../../book.css" type="text/css" rel="stylesheet"></head> |
|
6 <body> |
|
7 |
|
8 <h2>Decoding binary traces with a Dictionary file</h2> |
|
9 <p>To activate and deactivate binary traces that are in the Open |
|
10 System Trace (OST) format, you must first define the used <i>Dictionary file |
|
11 </i> for the component that is outputting the traces. Dictionary files are |
|
12 in XML and are usually available in your development environment. They are |
|
13 automatically re-generated everytime you compile a component that contains |
|
14 OST traces.</p> |
|
15 <p>You can open a Dictionary file to be used for decoding |
|
16 binary traces, based on a decode model.</p> |
|
17 <p>To open a Dictionary file: </p> |
|
18 <ol> |
|
19 <li>On the TraceViewer menu, select <b>Trace Activation</b>. </li> |
|
20 <li>In the <b>Activation</b> dialog, click <b>Add Dictionary</b>.</li> |
|
21 <li>In the <b>Open file</b> dialog, choose one or more decode files from the |
|
22 file system. <p>By default, these files are located in the <i>\epoc32\ost_dictionaries</i> directory, and named <i>[componentname]_uid_dictionary.xml</i><br> |
|
23 <b>Note</b>: You can also load a ZIP file containing one or more Dictionary files. |
|
24 </li> |
|
25 <li>Click <b>OK</b>. <p>TraceViewer will load the chosen files to the decoding |
|
26 model and decode the traces currently in the view.</p> </li> |
|
27 </ol> |
|
28 |
|
29 <h5>Related tasks</h5> |
|
30 <ul> |
|
31 <li><a href="traceactivation.htm">Activating traces</a></li> |
|
32 </ul> |
|
33 |
|
34 <h5>Related concepts</h5> |
|
35 <ul> |
|
36 <li><a href="../concepts/decode_file.htm">Dictionary file and trace activation</a></li> |
|
37 </ul> |
|
38 |
|
39 <div id="footer">Copyright © 2007-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.</div> |
|
40 </body> |
|
41 </html> |