Search code examples
cmakearmgdbclion

Can one use CLion macro's in Run/Debug Configurations?


I have added a GDB Remote Debug via CLion to debug my nRF52 chip but in order to debug the gdb needs a symbol (.out) file. This symbol file name changes when the projects file name changes aswell, so I want to add a macro from CMake, such as ${PROJECT_NAME} or something. I have tried using $ProjectName$.out but it looks like CLion does not recognize this. .

Does such a feature exist?


Solution

  • For anyone wondering, I figured out that you cannot, however it turned out you need CLion EAP (Early Acces program, in order to debug remotely with Embedded GDB Server. One can download it here.