I'm currently having issues with using the CLion debugger with JLinkGDBServer. I when I run the debug I am able to connect to the server and pause and start execution again, however I am unable to set breakpoints in the program.
I'm using a EFM32ZG222F32 board with has a JLink debugger built in.
I set up a GDB configuration for JLink, however when I try and run a build configuration before launch, I get the error "Not a valid Win32 application". If I try and run a configuration that has a CMake file with commands for starting the debugger, the debugger will start in the command line instead of using CLion's debugger and the build will never finish.
If I try and run debug on the build configuration for the project itself, I get the error: "Cannot determine architecture of the target: elf32-littlearm".
Any Ideas on where I may be going wrong?