Run Mode On-Device Debugging

Run mode on-device debugging enables you to download and launch a project on a phone or target device and debug it using the Carbide debugger. Before you can do that, some setup requirements are required. Once the setup is done, Carbide can then use plug-and-play (PnP) with USB to create a remote connection that connects with the TRK agent on the target device to download, launch, and debug the program.

  1. Setup system and development requirements (below)
  2. Install Application or System TRK v3.2.6 or later on the target device
  3. Connect USB cable to phone or target device for PnP connectivity
  4. Create or import a project in the Carbide C/C++ workspace
  5. Build the project
  6. Debug the project on a phone or target device

Setup system and development requirements

All of the following requirements are required to build, communicate, and control programs on a phone or target device.

Once you've setup your environment, its time to verify that the TRK agent is on the phone or target device.