


Step 2 - Create the Debug Configurationįind the debug/run configuration selector. For the Sensor API referenec application this would be the hdkmshield project you setup earlier.
#Clion remote debugging code
Start by opening the project that contains the source code you want to run the debugger on. You must attach a debug profile to the project. You must create a CLion debug profile that associates the debugger with a GDB server and probe. Setting up your development environment involves: You must have a Segger J-Link debug probe attached to your Adafruit Metro M0 Express board using an SWD cable. We assume that you have already gone through the Building the Sensor API Reference Application with CLion and have successfully built the Sensor API package and flashed it to your Adafruit Metro M0 Express board.
#Clion remote debugging how to
This page provides instructions on how to setup the CLion IDE to debug the Sensor API reference application package.
