core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_04.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>Setup a Virtual Drive for Techview and Cust Kits</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>Setup a Virtual Drive for Techview and Cust Kits (optional)</h2>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    12
<p>Techview Kits and cust kits have kernel components, kernel extensions and device drivers that are typically built on a virtual drive. So if you want to debug them the debugger will need to load files from the virtual drive that the binaries were built on. If you do not know the virtual drive the kit was built on you should first pick a drive letter randomly.</p>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    13
<div class="step">
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    14
  <h4><a name="runVirDrive" id="runVirDrive"> </a>Setup a Virtual Drive for Techview and Cust Kits</h4>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    15
  <ol>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    16
    <li>To subst a drive, type on a command line:<br />
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    17
    &gt; subst <span class="question">drive_letter:</span> <span class="question">path_to_kit<br />
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    18
    </span>For example:<br />
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    19
&gt;<span class="code"> subst M: C:\Symbian\S60_3_0_200626</span></li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    20
    <li>On the command line type:<br />
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    21
&gt;<span class="code">subst</span><br />
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    22
    <p>You should see the new virtual drive pointing to your kit. If the debugger tries to load a file it can&rsquo;t find, it will look for it on the virtual drive. You can see this in the stack crawl. The stack crawl should give the full path of the file on the virtual drive the file was built on. The debugger will not be able to load the file until the correct virtual drive is specified.</p>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    23
    <p>If this happens you can redo the virtual drive to use the drive specified in the stack crawl or navigate to the file using the existing virtual drive. From that point the IDE will add that path and recursively check folders for files it needs.</p>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    24
    </li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    25
    <li>Make sure when you set up your default SDK in the Carbide IDE that you use the virtual drive.</li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    26
  </ol>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    27
</div>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    28
<h5>Other references</h5>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    29
<ul>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    30
  <li><a href="run_mode_debug.htm">Run Mode On-Device Debugging</a>  </li>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    31
</ul>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    32
<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
    33
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    34
</body>
c4cdf14b6868 BUG 10841/10842 revised TOC and Run mode example for PnP
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    35
</html>