Starting a TRACE32-ICD debugging session

When the QNX OS image is running on your target, the TRACE32 TCF plugin is installed in the IDE, and you've created a debug configuration, you're ready to debug your target using the TRACE32-ICD.

To start a JTAG debugging session using the TRACE32-ICD:
  1. Click the dropdown arrow in the TRACE32 button (Icon: TRACE32 button) and select your debug configuration to start the TRACE32 software.

    The IDE adds this button near the launch bar when you install the TRACE32 TCF plugin.

  2. When the TRACE32 software starts, wait until it completes execution of the startup script.
  3. Select Run > Debug Configurations.
  4. In the list on the left, double-click Target Communication Framework to create a new configuration.

    The configuration tabs appear in the main area of the window.

  5. Provide a unique name in the Name text field at the top.
  6. Click the Target tab on the left to access the fields for configuring the target for the TCF connection.
  7. Clear the Use local host as the target checkbox.
  8. In the Available targets list area, select TRACE32.

    Screenshot of Target Communication Framework debug configuration with Target tab selected and filled out
  9. Click Debug.

The IDE switches to the Debug perspective starts a debugging session by connecting to the TRACE32 software through the TCF plugin. The TRACE32 software controls the TRACE32-ICD module.

The Debug views display the target processes and threads, the source code, register contents, and other essential debugging information. The debugging controls let you set breakpoints, step through the code, and stop and resume execution.

Screenshot of Debug perspective showing source code and registers for target thread being debugged through TCF connection