Debug Emulator Selection Dialog
As of Code Red IDE v5.0.12, in order to improve debug startup time, the debug configuration now prompts to select a debug emulator (probe) and stores it. Future debug sessions using that configuration will use the stored probe selection.
The first time you debug a project, the Debug Emulator Selection Dialog will be displayed, showing all supported probes that are attached to your PC. In this example, a Red Probe+ and an LPC-Link have been found:
You now need to select the probe that you wish to debug through. In this example, the LPC-Link has been selected:
For any future debug sessions, the stored probe selection will be automatically used, unless the probe cannot be found. In this example, the previously selected LPC-Link is no longer connected:
This might have been because you had forgotten to connect the probe, in which case connect it to your PC, and select Search for LPC-Link (HID) again. Alternatively, it might be because you now wish to use a different probe to debug this project with. In this case select Search for any enabled emulator.
The tools will then go off and search for appropriate emulators. In this example, a Red Probe+ has now been detected:
The "Remember my selection" option is enabled by default in the Debug Emulator Selection Dialog, which will cause the selected probe to be store in the launch configuration for the current configuration (typically Debug or Release) of the current project. You can thus remove the probe selection at any time by simply deleting the launch configuration. For details of how to do this, please see the Launch Configuration Menu FAQ.
- You will need to select a probe for each project that you debug within a workspace (as well as for each configuration within a project).
- Red Suite provides a method of turning off support for various debug emulators (this is not available in LPCXpresso IDE). This can be configured on a workspace basis via the menu
'Window -> Preferences -> RedSuite -> Debug Emulator Selection'