core/com.nokia.carbide.cpp.doc.user/html/concepts/trk.htm
author timkelly
Fri, 27 Mar 2009 10:47:09 -0500
changeset 17 71c0485f97c2
parent 2 d760517a8095
child 1225 a546534a48de
permissions -rw-r--r--
new image for CDK
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>On-device Debugging</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>On-device Debugging</h2>
cawthron
parents:
diff changeset
    12
<p>The on-device debug agent (Application TRK or System TRK) is a program that enables on-device debugging of  phone prototypes, reference boards, and retail phones. An on-device debug agent is a program that is installed on a phone or reference board. It communicates with the debugger using a serial-over-Bluetooth or serial-over-USB connection. Through this serial communication, the on-device debug agent acts as the interface between the Carbide.c++ debugger and the target device. An on-device debug agent provides: </p>
cawthron
parents:
diff changeset
    13
<ul>
cawthron
parents:
diff changeset
    14
  <li>Debug agent running on Symbian OS</li>
cawthron
parents:
diff changeset
    15
  <li>Provides a stable &amp; integrated interface to Symbian OS</li>
cawthron
parents:
diff changeset
    16
  <li>Used to debug applications on actual devices</li>
cawthron
parents:
diff changeset
    17
  <li>Can be built-in to the OS image or installed as a .sis file</li>
cawthron
parents:
diff changeset
    18
</ul>
cawthron
parents:
diff changeset
    19
<p>Using the on-device debug agent, one can use the Carbide.c++ IDE to debug programs running on phone hardware, making the debugging process much easier. The on-device debug agent works on all S60 3rd Edition devices, UIQ 3rd Edition devices, and Symbian TechView devkits.</p>
cawthron
parents:
diff changeset
    20
<p>The Application TRK debug agents are stored online and can be downloaded and installed using the <a href="../reference/trk/wnd_new_connection_wizard.htm">On-Device Connections &gt; New Connection Wizard &gt; Install remote agents</a> pane.</p>
cawthron
parents:
diff changeset
    21
<p>Some of the key benefits to using an on-device debug agent include:</p>
cawthron
parents:
diff changeset
    22
<ul>
cawthron
parents:
diff changeset
    23
  <li>Easy debugging via serial interface (Bluetooth, USB, IrDA, etc)</li>
cawthron
parents:
diff changeset
    24
  <li>More accurate than emulator debugging</li>
cawthron
parents:
diff changeset
    25
  <li>Can often avoid using expensive hardware debuggers </li>
cawthron
parents:
diff changeset
    26
</ul>
cawthron
parents:
diff changeset
    27
<p>There are two variations of the on-device debug agent, they are:</p>
cawthron
parents:
diff changeset
    28
<ul>
cawthron
parents:
diff changeset
    29
  <li><b>Application TRK</b>&#8212;supports application debugging only and available to developers creating applications for devices. Developers do not have access to system level routines,  system ROM,   other user application code, cannot modify the LR and SR registers, and must use a SIS file to debug an application.</li>
cawthron
parents:
diff changeset
    30
  <li><b>System TRK</b>&#8212;
cawthron
parents:
diff changeset
    31
  supports both application and limited ROM debugging (includes application executables and limited ROM based components (i.e. no device drivers) and available to original equipment manufacturers (OEM) for device creation and customization</li>
cawthron
parents:
diff changeset
    32
</ul>
cawthron
parents:
diff changeset
    33
<p class="note"><b>NOTE</b> The type of on-device debug agent you have is based upon which  Carbide.c++ product you have licensed. System TRK is only available with the Professional or OEM version of the product. </p>
cawthron
parents:
diff changeset
    34
<h5>Related tasks</h5>
cawthron
parents:
diff changeset
    35
<ul>
cawthron
parents:
diff changeset
    36
  <li><a href="../tasks/trk/trk_overview.htm">On-device Debugging Overview</a> </li>
cawthron
parents:
diff changeset
    37
</ul>
cawthron
parents:
diff changeset
    38
<div class="step">
cawthron
parents:
diff changeset
    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>
cawthron
parents:
diff changeset
    40
cawthron
parents:
diff changeset
    41
</div>
cawthron
parents:
diff changeset
    42
</body>
cawthron
parents:
diff changeset
    43
</html>