|
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>Enabling automatic crash logging</title> |
|
6 <link href="../../book.css" type="text/css" rel="stylesheet"> |
|
7 </head> |
|
8 <body> |
|
9 |
|
10 <h2>Enabling automatic crash logging</h2> |
|
11 <p>To enable the automatic crash logging, go to Carbide.c++ preferences:</p> |
|
12 <ol> |
|
13 <li>Select <b>Window > Preferences... > Carbide Extensions > Crash Analyser.</b></li> |
|
14 <li>Follow the steps in the workflow examples below.</li> |
|
15 </ol> |
|
16 <p></p> |
|
17 |
|
18 <h4>Workflow example (Listen panics from epocwind.out)</h4> |
|
19 <p>Before you start:</p> |
|
20 <p>Ensure that you have checked the <b>Listen panics from epocwind.out</b> check box.</p> |
|
21 <ol> |
|
22 <li>Start debugging your project with an emulator</li> |
|
23 <li>In the emulator, run something that creates a panic.</li> |
|
24 </ol> |
|
25 <p>Expected outcome:</p> |
|
26 <p>Emulator panic file is displayed in the main view. When you select a file from the list, panic details and descriptions are displayed.</p> |
|
27 |
|
28 <h4>Workflow example (Listen MobileCrash panics via TraceViewer)</h4> |
|
29 <p>Before you start:</p> |
|
30 <ul> |
|
31 <li>Ensure that you have checked the <b>Listen MobileCrash panics via TraceViewer</b> check box. If you want that the Crash Visualiser is shown when a crash occurs, check also the <b>Show Crash Visualiser when crash occurs</b> check box.</li> |
|
32 <li>Ensure that the TraceViewer view is visible in the Carbide.c++ view. If it is not visible, open it from Carbide.c++ menu: <b>Window > Show View > Other... > Carbide Extensions > TraceViewer.</b></li> |
|
33 <li>Ensure that TraceViewer connection settings are OK, and the TraceViewer is able to connect to the device.</li> |
|
34 </ul> |
|
35 <ol> |
|
36 <li>Start tracing by clicking the <b>Connect to trace source</b> button in the <b>TraceViewer</b> view.</li> |
|
37 <li>In the device, run something that creates a mobile crash.</li> |
|
38 <li>Stop the TraceViewer.</li> |
|
39 <li>Open the <b>Crash Analyser</b> view. |
|
40 <p><i>Expected outcome</i> if the <b>Show Crash Visualiser when crash occurs</b> is not checked: The crash file generated in step 2 is visible in the Crash Analyser view. The undecoded file is now ready to be decoded with the <b>Decode selected files...</b> functionality.</p> |
|
41 <p><i>Expected outcome</i> if the <b>Show Crash Visualiser when crash occurs</b> check box is checked: The crash file generated in step 2 is partially decoded and opened automatically to the Crash Visualiser.</p></li> |
|
42 </ol> |
|
43 |
|
44 <h5>Related tasks</h5> |
|
45 <ul> |
|
46 <li><a href="../tasks/import_crash_files.htm">Importing crash files</a></li> |
|
47 <li><a href="../tasks/export_crash_files.htm">Exporting crash files</a></li> |
|
48 </ul> |
|
49 |
|
50 <h5>Related concepts</h5> |
|
51 <ul> |
|
52 <li><a href="../concepts/preferences.htm">Crash Analyser preferences</a></li> |
|
53 </ul> |
|
54 |
|
55 <div id="footer">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
|
56 License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.</div> |
|
57 </body> |
|
58 </html> |