edlasas.blogg.se

Clion remote debugging
Clion remote debugging










clion remote debugging
  1. #Clion remote debugging how to
  2. #Clion remote debugging code

  • Select the Executable (hdkmshield.elf) from the drop down list.
  • Make the name hdkmshield debug (note the name is arbitrary).
  • We fill in the debug configuration as follows:
  • Select the Embedded GDBServer configuration template.
  • Click the + button located at the top left of the dialog.
  • Select Edit Configurations from the top of the drop down list.
  • Open the drop down by clicking in the down pointing triangle.
  • This will be a drop down list located in the top right portion of theof the CLion IDE window.

    clion remote debugging

    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.












    Clion remote debugging