author | fturovic <frank.turovich@nokia.com> |
Tue, 31 Aug 2010 22:58:09 -0500 | |
changeset 1934 | 4f0cd256d26c |
parent 1791 | 727385d8e2b3 |
permissions | -rw-r--r-- |
1633
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
2 |
<html> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
3 |
<head> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
5 |
<meta http-equiv="Content-Style-Type" content="text/css" /> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
6 |
<meta name="LASTUPDATED" content="06/17/05 11:09:43" /> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
7 |
<title>Setup a Virtual Drive</title> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
8 |
<link rel="StyleSheet" href="../../../book.css" type="text/css"/> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
9 |
</head> |
1791
727385d8e2b3
added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents:
1633
diff
changeset
|
10 |
<body > |
1633
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
11 |
<h2>Setup a Virtual Drive (optional)</h2> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
12 |
<p>SDKs 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> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
13 |
<div class="step"> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
14 |
<h4><a name="runVirDrive" id="runVirDrive"> </a>Setup a Virtual Drive for SDKs</h4> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
15 |
<ol> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
16 |
<li>To subst a drive, type on a command line:<br /> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
17 |
> subst <span class="question">drive_letter:</span> <span class="question">path_to_kit<br /> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
18 |
</span>For example:<br /> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
19 |
><span class="code"> subst M: C:\Symbian\S60_5_0_201012</span></li> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
20 |
<li>On the command line type:<br /> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
21 |
><span class="code">subst</span><br /> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
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’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> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
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> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
24 |
</li> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
25 |
<li>Make sure when you set up your default SDK in the Carbide IDE that you use the virtual drive.</li> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
26 |
</ol> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
27 |
</div> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
28 |
<h5>Other references</h5> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
29 |
<ul> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
30 |
<li><a href="../../projects/tutorials/run_mode_debug_example_01.htm">Verify System Setup (Run-mode) Tutorial</a><a href="run_mode_debug.htm"></a> </li> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
31 |
</ul> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
32 |
<div id="footer">Copyright © 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> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
33 |
|
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
34 |
</body> |
0c69c533fa52
draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
1207
diff
changeset
|
35 |
</html> |