core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_carbide_setup.htm
author dan.podwall@nokia.com
Mon, 06 Apr 2009 14:56:28 -0500
changeset 56 887bd61e1328
parent 2 d760517a8095
child 400 9b005a8e6778
permissions -rw-r--r--
merge from RCL_2_0 to default
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
cawthron
parents:
diff changeset
     2
<html>
cawthron
parents:
diff changeset
     3
<head>
cawthron
parents:
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
cawthron
parents:
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
cawthron
parents:
diff changeset
     6
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
cawthron
parents:
diff changeset
     7
<title>Launch Configuration Setup</title>
cawthron
parents:
diff changeset
     8
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
cawthron
parents:
diff changeset
     9
</head>
cawthron
parents:
diff changeset
    10
<body bgcolor="#FFFFFF">
cawthron
parents:
diff changeset
    11
<h2>Launch Configuration Setup</h2>
cawthron
parents:
diff changeset
    12
<p>To communicate between the Carbide.c++ debugger and the <a href="../../concepts/trk.htm">on-device debug agent</a>, using either Application TRK or System TRK, you must <a href="../projects/prj_debug_config.htm">define</a> a debug <a href="../../projects/launch/launch_configs_overview.htm">launch configuration</a> that matches the installed debug agent. The two configurations available include:</p>
cawthron
parents:
diff changeset
    13
<ul>
cawthron
parents:
diff changeset
    14
  <li><b>Symbian OS Appication TRK</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>
cawthron
parents:
diff changeset
    15
  <li><b>Symbian OS System TRK</b> (<i>not available in the Developer Edition</i>) &#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>
cawthron
parents:
diff changeset
    16
</ul>
cawthron
parents:
diff changeset
    17
<p>By default, you can click the <b>Debug</b> icon (<img src="../../images/icons/btn_debug.png" width="17" height="16" align="absmiddle">) in the toolbar to launch the <a href="../projects/wiz_new_launch_config.htm">New Launch Configuration Wizard</a>. This   creates a launch configuration for the project based on project information and any additional input required, like COM port selection. It is the recommended method for creating new launch configurations. Or, use the <a href="../../reference/launch_configs/page_trk_main.htm">Debug</a> window to create a customized  launch configuration. </p>
cawthron
parents:
diff changeset
    18
<p align="center"><img src="../../reference/images/wnd_trk_debug_config.png" width="859" height="629" /></p>
cawthron
parents:
diff changeset
    19
<p class="figure">Figure 1. Debug launch configuration for on-device debugging   (<i>Application TRK shown</i>)</p>
cawthron
parents:
diff changeset
    20
<div class="step">
cawthron
parents:
diff changeset
    21
  <h4>Defining a Customized  Launch Configuration </h4>
cawthron
parents:
diff changeset
    22
  <ol>
cawthron
parents:
diff changeset
    23
    <li>Choose the Run &gt; Open Debug Dialog... menu item </li>
cawthron
parents:
diff changeset
    24
    <p>The <a href="../../reference/wnd_debug_configuration.htm">Debug</a> window appears.</p>
cawthron
parents:
diff changeset
    25
    <li>Select a Configuration type for on-device debugging and click New</li>
cawthron
parents:
diff changeset
    26
    <p>Choose the <b>Symbian OS Application TRK </b> or <b>System TRK</b> configuration based on which debug agent is installed on the device, then click <b>New</b>. A new debug launch configuration appears in the Configuration list and the Main tab appears. </p>
cawthron
parents:
diff changeset
    27
    <li>Enter the required information</li>
cawthron
parents:
diff changeset
    28
    <p>For  debug launch configurations using the TRK debug agent, the following   pages require review and possible option settings:</p>
cawthron
parents:
diff changeset
    29
    <ul>
cawthron
parents:
diff changeset
    30
      <li><a href="../../reference/launch_configs/page_trk_main.htm">Main</a>&#8212; defines the project to be launched on the target device</li>
cawthron
parents:
diff changeset
    31
      <li>Arguments &#8212; enter command line build system arguments </li>
cawthron
parents:
diff changeset
    32
      <li><a href="../../reference/launch_configs/page_trk_debugger.htm">Debugger</a>&#8212; provides control over entry points, message handling, and instruction set default settings</li>
cawthron
parents:
diff changeset
    33
      <li><a href="../../reference/launch_configs/page_connection.htm">Connection</a>&#8212;   specifies the method used to transfer files to the target device</li>
cawthron
parents:
diff changeset
    34
      <li><a href="../../reference/launch_configs/page_file_transfer.htm">File Transfer</a> &#8212; the files  transfered to the target device at the start of each launch</li>
cawthron
parents:
diff changeset
    35
      <li><a href="../../reference/launch_configs/app_trk_installation.htm">Installation</a>   (<i>Application TRK onl</i>y)&#8212;  specifies the .sis or .pkg file to install on the target device</li>
cawthron
parents:
diff changeset
    36
      <li><a href="../../reference/launch_configs/page_executables.htm">Executables</a> &#8212; specifies the executables to be debugged</li>
cawthron
parents:
diff changeset
    37
      <li><a href="../../reference/launch_configs/sys_trk_rom_log.htm">ROM Log</a>  (<i>System TRK only</i>) &#8212; specifies the executables to be debugged</li>
cawthron
parents:
diff changeset
    38
    </ul>
cawthron
parents:
diff changeset
    39
    <li>Click Debug </li>
cawthron
parents:
diff changeset
    40
    <p>The Debug window closes and the Carbide.c++ debugger begins a debugging session using the new configuration. The next time you click the <b>Debug</b> icon, this debug launch configuration is used to start a debug session.</p>
cawthron
parents:
diff changeset
    41
  </ol>
cawthron
parents:
diff changeset
    42
</div>
cawthron
parents:
diff changeset
    43
<h5>Related references</h5>
cawthron
parents:
diff changeset
    44
<ul>
cawthron
parents:
diff changeset
    45
  <li><a href="../../projects/launch/launch_configs_overview.htm">Launch Configurations</a></li>
cawthron
parents:
diff changeset
    46
  <li><a href="../../concepts/trk.htm">On-device Debugging</a></li>
cawthron
parents:
diff changeset
    47
  <li><a href="../../reference/launch_configs/run_mode_overview.htm">Debug Window (On-device Debugging) Overview</a></li>
cawthron
parents:
diff changeset
    48
  <li><a href="../../tasks/projects/prj_debug_config.htm">Creating a Launch Configuration</a></li>
cawthron
parents:
diff changeset
    49
</ul>
cawthron
parents:
diff changeset
    50
<div id="footer">Copyright &copy; 2009 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>
cawthron
parents:
diff changeset
    51
</body>
cawthron
parents:
diff changeset
    52
</html>