core/com.nokia.carbide.cpp.doc.user/html/projects/launch/launch_configs_overview.htm
author fturovic <frank.turovich@nokia.com>
Thu, 18 Feb 2010 15:49:18 -0600
branchRCL_2_4
changeset 995 daded633d00d
parent 817 41b05da1d19f
child 1028 2bae15d3b247
permissions -rw-r--r--
minor editorial revisions

<!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 and on-device) 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="../../images/icons/btn_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="applications.htm">Symbian OS Application</a></b> &#8212; used to run or debug executables. </li>
  <li><b><a href="run_mode.htm">Symbian OS Appication TRK</a></b> &#8212; used to run or debug applications on a target device using the Application TRK on-device debug agent. Application TRK 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="attach_process.htm">Symbian OS 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 TRK and stop mode debugging.  This launch configuration is not available for emulator debugging.  Stop mode and TRK 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="PLUGINS_ROOT/com.nokia.carbide.cpp.debug.crashdebugger/html/view.html">Symbian OS Crash Debugger</a></b> &#8212; used to launch an interactive command-line session with the Symbian OS crash debugger when the device crashes </li>
  <li><b><a href="emulation.htm">Symbian OS Emulation</a> </b>&#8212; used to run or debug executables on an emulator. </li>
  <li><b><a href="stop_mode.htm">Symbian OS System TRK</a></b> &#8212; used to run or debug applications or ROM code on a target device using the System TRK on-device debug agent. System TRK is an application that runs on reference boards and prototype phones and allows you to debug your executables. The debugger will download files to the phone prior to launching.</li>
  <li><b><a href="trace32.htm">Symbian OS Trace32</a></b> &#8212; is an external debugger that the Carbide debugger communicates with, to debug any Symbian OS module on a target using a JTAG connection.</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>