core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_05.htm
author fturovic <frank.turovich@nokia.com>
Tue, 09 Mar 2010 17:31:44 -0600
branchRCL_2_4
changeset 1086 c4cdf14b6868
parent 0 fb279309251b
permissions -rw-r--r--
BUG 10841/10842 revised TOC and Run mode example for PnP
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1086
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     2
<html>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     3
<head>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     6
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     7
<title>Run Mode On-Device Debugging</title>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     8
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     9
</head>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    10
<body bgcolor="#FFFFFF">
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    11
<h2>Run Mode On-Device Debugging</h2>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    12
<p>To implement run mode on-device debugging the following tasks need to be completed.</p>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    13
<ol>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    14
  <li><a href="run_mode_debug.htm">Install device connection software</a></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    15
  <li><a href="run_mode_debug_01.htm">Install Perl</a></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    16
  <li><a href="run_mode_debug_02.htm">Install an SDK</a></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    17
  <li><a href="run_mode_debug_03.htm">Setup environment variables</a></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    18
  <li><a href="run_mode_debug_04.htm">Setup a virtual drive for Techview and Cust Kits</a></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    19
  <li><b>Set the default kit in Devices.xml </b></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    20
  <li><a href="run_mode_debug_06.htm">Install the SISX file on the target device</a></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    21
  <li><a href="run_mode_debug_07.htm">Configure TRK connection on the device</a></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    22
  <li><a href="run_mode_debug_08.htm">Create a launch configuration</a></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    23
</ol>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    24
<div class="step">
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    25
<h4><a name="runDefKit" id="runDefKit"> </a>Set the Default Kit in Devices.xml </h4>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    26
<p>The Symbian environment needs to know the kit you are using. This is needed since you may have multiple kits installed. You can specify the development kit by setting a default in the file called devices.xml located in the <span class="code">C:\Program Files\Common Files\Symbian</span> folder.</p>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    27
  <h5>From the command line</h5>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    28
  <ol>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    29
    <li>Set the default device devkit by typing on the command line:<br />
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    30
&gt; <span class="code">devices &ndash;setdefault @device id: name</span></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    31
  
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    32
  <p>The device id and name can be found in the devices.xml file. For example, for a Techview 9.2 kit you might type<br />
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    33
    <span class="code">&gt; devices &ndash;setdefault @ SymbianOS_92_2006_wk40:com.symbian.techview</span></p>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    34
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    35
    <li>Now ensure the default device is set by entering:<br />
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    36
&gt; <span class="code">devices</span></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    37
    <li>Make sure the correct default is set.</li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    38
  </ol>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    39
</div>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    40
<div id="footer">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    41
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    42
</body>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    43
</html>