Tuesday, May 11, 2010

Debugging Devices with PnP

If you haven't done so already I highly recommend that you download the latest release of Carbide.c++, version 2.5. This release includes the following enhancements:

  • Plug-and-Play (PnP) On-device Debugging supported — debugging a target device just got easier. Using a USB cable, connect the PC to the target device, then launch Carbide.c++. Carbide locates the connected device and creates a remote connection setup to communicate with it. Build the program and launch it on the device to start the debugging session.

    Basically, the remote connection wizard, in conjunction with the App TRK on-device agent, has been enhanced to detect the presence of a device via the USB cable. The steps to make this happen are pretty straightforward:

    1. Launch Carbide.c++
    2. Connect a USB cable between the PC and target device

    Once Carbide sees the device, a remote connection is automatically created and shown in the Remote Connections view.


    The current active connection is always displayed in the workbench trim area so you always know which device is targeted for debugging.


  • PnP Phone Launch Wizard - If the project does not already have a launch configuration, the PnP Launch Wizard makes it easy to create one for phones. In addition the new Configure Launch Configuration dialog provides a quick summary of the remote connection for easy review and modification.
    Carbide automatically detects TRK on target phones and devices - Carbide now detects the presence of either Application or System TRK on a connected device when TRK 3.2.6 or later are installed. Earlier TRK versions do not support this recognition feature.

  • TRK improvements - TRK continues to evolve and now includes these improvements:

    • Both Application and System TRK v3.2.6 support PnP debugging. Update and install using the Help > On Device Connections > Install Remote Agents pane in the New Connection dialog.

    • VERSION3 command now supported


  • RVCT 4.0 (ARMv5) builds and some limited debugging is supported

  • Symbian ^3 SDK now supported


Additional enhancements to PnP support is coming in later releases.