diff -r 82122e7b1554 -r 0c69c533fa52 core/com.nokia.carbide.cpp.doc.user/html/projects/tutorials/run_mode_debug_example_02.htm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/com.nokia.carbide.cpp.doc.user/html/projects/tutorials/run_mode_debug_example_02.htm Fri Jul 16 14:42:52 2010 -0500 @@ -0,0 +1,49 @@ + + + + + + +Install TRK remote agent Tutorial + + +

Install TRK remote agent

+

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:

+
    +
  1. Connect target device to PC
  2. +
  3. Install TRK remote agent (v3.2.6) or later on the target device
  4. +
  5. Configure project for debugging
  6. +
  7. Debug project on target device
  8. +
+
+

To debug on a remote device you need a program to communicate between the Carbide debugger and your executable running on the device. That program is the TRK (Terminal Resident Kernel) remote agent, also known as Application TRK.

+

 

+
+

Installing or updating the TRK remote agent

+
    +
  1. Select the Connection to edit in the Remote Connections view.
  2. +
  3. Click the Edit Settings... icon (Edit Settings icon) in the Remote Connections toolbar.
    +

    Click Edit Settings icon

    +
  4. +
  5. Click the Install Remote Agents tab.
    +

    Click Install Remote Agents tab

    +
  6. +
  7. Select the latest remote agent to install.
    +

    Choose the remote agent to install. Since there are different builds for different OSes, knowing the OS installed on the device helps.

    +
  8. +

    Click Install Remote Agents tab

    +

    NOTE If you don't know what OS version is on the device, always choose the remote agent that supports the highest OS version available. Should that one not work, drop down to the next OS version in line and repeat.

    +
  9. +

    Click Install.

    +
  10. +
+
+

NEXT: Configure project for debugging

+

Other references

+ + + + + \ No newline at end of file