core/com.nokia.carbide.cpp.doc.user/html/projects/launch/launch_configs_overview.htm
author fturovic <frank.turovich@nokia.com>
Tue, 21 Sep 2010 15:50:51 -0500
changeset 2087 617a89f9dffc
parent 2009 b622387629d6
child 2131 ff0156b93599
permissions -rw-r--r--
BUG 12110 - text instances of apptrk/systrk changed, more images yet to update

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Launch Configuration Overview</title>
<link href="../../../book.css" rel="stylesheet" type="text/css"></head>

<body>
<h2>Launch Configuration Overview</h2>
<p>A <b>launch configuration</b> defines the operational settings used by the Carbide.c++ tools  to launch and debug programs. A project must have at least one launch configuration, and can have as many as necessary. This enables you to develop and debug your project using various compilers (GCCE and RVCT) and different targets (emulator, on-device, and reference boards) as each launch configuration can be tailored to fit the intended target. </p>
<h4>Creating a Launch Configuration </h4>
<p>To create a default launch configuration for a project use the <a href="wiz_new_launch_config.htm">New Launch Configuration Wizard</a>. Using this method ensures that you have a working launch configuration for the project. You can invoke the New Launch Configuration Wizard for projects lacking a launch configuration by selecting the <b>Run &gt; Debug</b> (<span class="code">F11</span>) or<b> </b><b>Run &gt; Run</b> (<span class="code">CTRL+F11</span>) menu options, or clicking the <b>Run</b> (<img src="../../images/icons/btn_run.png" alt="Run icon" width="16" height="16" align="absmiddle" />) or <b>Debug</b> (<img src="../../projects/images/icon_debug.png" width="17" height="16" align="absmiddle" alt="Debug icon"/>) icons in the toolbar. If a project already has a defined launch configuration, selecting the  <b>Run</b> or <b>Debug</b> command calls  the   previously defined and last used launch configuration, bypassing the wizard entirely.</p>
<p>For emulator projects  the wizard simply gathers the data it needs from the project and creates an emulator launch configuration and launches the emulator. For on-device targets, more information is required, so the wizard asks for the missing information it needs, creates the  launch configuration, then downloads the executable to the device and launches it. Once the emulator or device is loaded with the executable, the debug session   commences. </p>
<p>You can  customize any project launch configuration  afterward using the <b>Debug</b> dialog as necessary. </p>
<h4>Available Launch Configurations</h4>
<p>Launch configurations come in several varieties, each designed for a specific purpose. You must choose one at the very start of the New Launch Configuration Wizard, so knowing the differences between them is important. Currently, the types to choose from include: </p>
<ul>
    <li><b><a href="stop_mode.htm">Symbian OS Device</a></b> &#8212; used to run or debug applications or ROM code on a target device using  CODA (Carbide On-device Debug Agent).  CODA is an application that runs on reference boards and prototype phones and allows you to debug  executables. The debugger will download files to the phone prior to launching.</li>
    <li><b><a href="attach_process.htm">Symbian OS Device (Attach to Process)</a></b> &#8212; used to debug processes running on a target device for which a symbol file is available. This is available only for CODA and stop mode debugging.  This launch configuration is not available for emulator debugging.  Stop mode and CODA can both attach to a process from the <a href="../../reference/view_symbian_kernel.htm">Symbian OS Data</a> view.</li>
    <li><b><a href="run_mode.htm">Symbian OS Device (Install SIS)</a></b> &#8212; used to run or debug applications on a target device using   CODA.  CODA is an application that runs on released phones and allows you to debug your executables. The debugger will download a Symbian OS installation file to the phone and install it prior to launching.</li>
  <li><b><a href="emulation.htm">Symbian OS Emulator</a> </b>&#8212; used to run or debug executables on an emulator. </li>
  <li><b><a href="emulation.htm">Symbian OS Simulator</a> </b>&#8212; used to run or debug executables on a simulator. </li>
</ul>
<h4>Other references</h4>
<ul>
  <li>Creating Projects Overview </li>
  <li><a href="wiz_new_launch_config.htm">New Launch Configuration Wizard</a></li>
  <li><a href="wnd_debug_configuration.htm">Debug</a> dialog </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>