core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/prj_debug_console.htm
author stechong
Wed, 20 Oct 2010 11:19:31 -0500
changeset 2165 2a7b5eccb0bc
parent 1951 4809919782c0
permissions -rw-r--r--
Keeping PlatSim internal only.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1791
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
     2
<html>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
     3
<head>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
     6
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
     7
<title>Debugging Applications</title>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
     8
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
     9
</head>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    10
<body >
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    11
<h2>Debugging Applications</h2>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    12
<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>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    13
<ul>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    14
  <li><b>For console applications, assign the Executable and leave the Emulator blank in the Debug window</b></li>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    15
  <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>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    16
</ul>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    17
<blockquote>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    18
  <p align="center"><img src="images/page_debug_console.png" width="633" height="206" /></p>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    19
  <p class="figure">Figure 1 - Launch ConsoleTest executable to debug the ConsoleTest project</p>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    20
</blockquote>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    21
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    22
<ul>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    23
  <li><b>For regular applications, assign the Executable and Remote process to launch in the Debug window</b></li>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    24
</ul>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    25
<blockquote>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    26
  <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>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    27
  <p align="center"><img src="../../reference/images/panel_trk_main.png" width="593" height="251" /></p>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    28
  <p align="left" class="figure">Figure 2 - Assign Executable and Remote Process</p>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    29
</blockquote>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    30
<h5>Related concepts</h5>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    31
  <ul>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    32
    <li><a href="../../concepts/Projects.html">Projects</a></li>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    33
    <li><a href="../../concepts/Modify.html">Project Resources</a> </li>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    34
  </ul>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    35
  <h5>Related tasks</h5>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    36
  <ul>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    37
    <li><a href="prj_debug_dlls.htm">Debugging DLLs </a></li>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    38
    <li><a href="prj_debug_config.htm">Creating a Launch Configuration</a></li>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    39
  </ul>
1951
4809919782c0 fixed broken links in pages
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    40
<h5>Related references</h5>
1791
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    41
  <ul>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    42
    <li><a href="../../reference/ProjectDirectories.html">Project Directories</a></li>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    43
</ul>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    44
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    45
<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>
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    46
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    47
</body>
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    48
</html>