core/com.nokia.carbide.cpp.doc.user/html/reference/launch_configs/run_mode_overview.htm
changeset 401 939a4e7e4597
parent 400 9b005a8e6778
child 402 ad8d147e8273
equal deleted inserted replaced
400:9b005a8e6778 401:939a4e7e4597
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
       
     2 <html>
       
     3 <head>
       
     4 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
       
     5 <meta http-equiv="Content-Style-Type" content="text/css" />
       
     6 <meta name="LASTUPDATED" content="06/17/05 11:09:43" />
       
     7 <title>Run-mode Overview</title>
       
     8 <link rel="StyleSheet" href="../../../book.css" type="text/css"/>
       
     9 </head>
       
    10 <body bgcolor="#FFFFFF">
       
    11 <h2>Run-mode Overview</h2>
       
    12 <p>The <a href="../wnd_debug_configuration.htm">Debug</a> or launch configuration window provides C/C++ debugger options for on-device debugging. On-device debugging uses a program called Terminal Resident Kernel (TRK) to communicate between Carbide and the device. On-device debugging is supported by creating one of the following debug launch configurations:</p>
       
    13 <ul>
       
    14   <li><b>Symbian OS Application TRK</b>&#8212;supports application debugging only  </li>
       
    15   <li><b>Symbian OS System TRK</b>&#8212;supports both application and limited ROM debugging (<i>not available in the Developer Edition</i>) </li>
       
    16 </ul>
       
    17 <p>The  settings included in the TRK launch configurations are a combination of Carbide, CDT, and Eclipse options. Once a suitable Symbian OS debug launch configuration is defined the tabs in the window include:</p>
       
    18 <ul>
       
    19   <li>The <a href="page_trk_main.htm">Main</a> tab defines the project to be launched. Enter the name of the project containing the class to launch in the project field, and the executable name in the Executable field and the remote process to launch on the device. </li>
       
    20   <li>The <b>Arguments</b> tab (<i>standard Eclipse page</i>) defines any arguments to be passed to the process to launch.</li>
       
    21   <li>The <a href="page_trk_debugger.htm">Debugger</a> tab provides common debugger options for the project.</li>
       
    22   <li>The <a href="page_connection.htm">Connection</a> tab  specifies the method used to transfer files to the target device. This is where you specify the COM port if the connection is via Bluetooth or USB.</li>
       
    23   <li>The <a href="page_file_transfer.htm">File Transfer</a>  tab displays a list of files to transfer to the target device at the start of each launch. This is used primarily by System TRK to transfer files to a phone for debugging.</li>
       
    24   <li>The <a href="app_trk_installation.htm"> Installation </a> tab <i>(shown in Application TRK only</i>) defines where programs are installed on the target device. This is where you specify the SIS file to be uploaded for Application TRK.  </li>
       
    25   <li>The <a href="page_executables.htm">Executables</a> tab allows you to specify which executables within your project to debug.</li>
       
    26   <li>The <a href="sys_trk_rom_log.htm"> ROM Log </a> tab <i>(shown in System TRK only</i>) specifies where the ROM log file is stored and the Epoc32 directory.</li>
       
    27   <li>The <b>Source</b> tab  (<i>standard CDT page</i>) defines the location of source files used to display source when debugging an application. By default, these settings are derived from the associated project's build path. You may override these settings here. </li>
       
    28   <li>The <a href="PLUGINS_ROOT/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_comm.htm">Common</a> tab  (<i>standard CDT page</i>) defines general information about the launch configuration. You may choose to store the launch configuration in a specific file and specify which perspectives become active when the launch configuration is launched. </li>
       
    29 </ul>
       
    30 <p align="center"><img src="../images/wnd_trk_debug_config.png" width="859" height="629" /></p>
       
    31 <p class="figure">Figure 1 - Debug/Run window for on-device debugging (Application TRK version) </p>
       
    32 <h5>Other references</h5>
       
    33 <ul>
       
    34   <li><a href="../wnd_debug_configuration.htm">Debug Window </a></li>
       
    35   <li><a href="../../tasks/projects/prj_debug_config.htm">Creating a Launch Configuration</a></li>
       
    36   <li><a href="emulator_overview.htm">Emulator overview</a></li>
       
    37   <li><a href="stop_mode_overview.htm">Stop-mode overview</a> </li>
       
    38 </ul>
       
    39 <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>
       
    40 
       
    41 </body>
       
    42 </html>