core/com.nokia.carbide.cpp.doc.user/html/projects/tutorials/run_mode_debug_example_04.htm
changeset 2009 b622387629d6
parent 1934 4f0cd256d26c
child 2087 617a89f9dffc
equal deleted inserted replaced
2008:549473f3167e 2009:b622387629d6
     7 <title>Debug project on target device Tutorial</title>
     7 <title>Debug project on target device Tutorial</title>
     8 <link rel="StyleSheet" href="../../../book.css" type="text/css"/>
     8 <link rel="StyleSheet" href="../../../book.css" type="text/css"/>
     9 </head>
     9 </head>
    10 <body >
    10 <body >
    11 <h2>Debug project on target device</h2>
    11 <h2>Debug project on target device</h2>
    12 <p>In this example we demonstrate how to debug applications on a remote device using the Application TRK remote debug agent. This enables you to test  programs on the actual device it will operate on while observing its behavior using the Carbide debugger. The steps to do this include:</p>
    12 <p>In this example we demonstrate how to debug applications on a remote device using the Application CODA remote debug agent. This enables you to test  programs on the actual device it will operate on while observing its behavior using the Carbide debugger. The steps to do this include:</p>
    13 <ol>
    13 <ol>
    14     <li><a href="run_mode_debug_example_01.htm">Connect</a> target device to PC</li>
    14     <li><a href="run_mode_debug_example_01.htm">Connect</a> target device to PC</li>
    15     <li><a href="run_mode_debug_example_02.htm">Install</a> TRK remote agent (v3.2.7) or later on the target device</li>
    15     <li><a href="run_mode_debug_example_02.htm">Install</a> CODA remote agent (v3.2.7) or later on the target device</li>
    16     <li><a href="run_mode_debug_example_03.htm">Configure</a> project for downloading</li>
    16     <li><a href="run_mode_debug_example_03.htm">Configure</a> project for downloading</li>
    17     <li><strong>Debug project on target device</strong></li>
    17     <li><strong>Debug project on target device</strong></li>
    18 </ol>
    18 </ol>
    19 <hr>
    19 <hr>
    20 <p>You debug on a remote device using the exact same methods used for the emulator. Once the project is built and downloaded to the target device, the TRK remote agent then takes control. Then, using the Carbide debugger you can use all the debugger features to exercise the program on the device while monitoring its vitals in the <a href="../../reference/perspective_debug.htm">Debug</a> perspective.</p>
    20 <p>You debug on a remote device using the exact same methods used for the emulator. Once the project is built and downloaded to the target device, the CODA remote agent then takes control. Then, using the Carbide debugger you can use all the debugger features to exercise the program on the device while monitoring its vitals in the <a href="../../reference/perspective_debug.htm">Debug</a> perspective.</p>
    21 <div class="step">
    21 <div class="step">
    22     <h4>Debugging a program on a remote device</h4>
    22     <h4>Debugging a program on a remote device</h4>
    23     <ol>
    23     <ol>
    24         <li>Set breakpoints in the program.
    24         <li>Set breakpoints in the program.
    25         	<p><a href="../../debugger/breakpoints/toggling_breakpoints.htm">Set breakpoints</a> at the critical points in the program where you want to stop execution.</p>
    25         	<p><a href="../../debugger/breakpoints/toggling_breakpoints.htm">Set breakpoints</a> at the critical points in the program where you want to stop execution.</p>