<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Debugging Applications</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Debugging Applications</h2>
<p>You can debug one or more applications just as you would any other executable with full support of the Carbide debugger. There are two methods that one can use to debug an application:</p>
<ul>
<li><b>For console applications, assign the Executable and leave the Emulator blank in the Debug window</b></li>
<p>In the <a href="prj_debug_config.htm">Debug</a> window or <a href="prj_debug_config.htm">launch configuration</a>, simply point the <b>Executable</b> option to the executable and clear the <b>Emulator</b> option as shown in Figure 1. This launches the application when you start a debug session from the project. </p>
</ul>
<blockquote>
<p align="center"><img src="images/page_debug_console.png" width="633" height="206" /></p>
<p class="figure">Figure 1 - Launch ConsoleTest executable to debug the ConsoleTest project</p>
</blockquote>
<ul>
<li><b>For regular applications, assign the Executable and Remote process to launch in the Debug window</b></li>
</ul>
<blockquote>
<p>In the <a href="prj_debug_config.htm">Debug</a> window or <a href="prj_debug_config.htm">launch configuration</a>, simply point both the <b>Executable</b> and <b>Remote process to launch</b> options to the application. This launches the application when you start a debug session from the application project.</p>
<p align="center"><img src="../../reference/images/panel_trk_main.png" width="593" height="251" /></p>
<p align="left" class="figure">Figure 2 - Assign Executable and Remote Process</p>
</blockquote>
<h5>Related concepts</h5>
<ul>
<li><a href="../../concepts/Projects.html">Projects</a></li>
<li><a href="../../concepts/Modify.html">Project Resources</a> </li>
</ul>
<h5>Related tasks</h5>
<ul>
<li><a href="prj_debug_dlls.htm">Debugging DLLs </a></li>
<li><a href="prj_import_exe.htm">Importing Symbian Executables </a></li>
<li><a href="prj_debug_config.htm">Creating a Launch Configuration</a></li>
</ul>
<h5>Related references</h5>
<ul>
<li><a href="../../reference/ProjectDirectories.html">Project Directories</a></li>
</ul>
<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>
</body>
</html>