core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/prj_debug_console.htm
author fturovic <frank.turovich@nokia.com>
Thu, 18 Feb 2010 11:17:02 -0600
branchRCL_2_4
changeset 987 77469bd2d10b
parent 0 fb279309251b
permissions -rw-r--r--
additions and revisions to tasks and ref pages and images

<!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 &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>

</body>
</html>