Clion JLink Breakpoints not working

已完成

I am attempting to debug using Clion and a JLink debugger on a Cortex-M33 LPC device.  My Cmake file works fine for writing code and compiling.  I can take the generated .elf file and debug using Segger's Ozone and also Cortex-Debug on vscode.  Clion provides me with a much better coding experience.  I would really love to be able to stay in Clion for debugging.

 

From Clion, I can flash my target and I can halt the debugger and single step and I see all my variables.  But breakpoints are just not working at all.  I have added a couple of screenshots of my setup.  I am on MacOs.  Any thoughts on what I may be doing wrong?  Thanks.

 

评论操作 固定链接

Hello!

Please enable debugger logging as described here, reproduce the issue and send the resulting idea.log file (`Help | Show Log in ...`) to clion-support at jetbrains.com. Do not forget to disable debug logging after that. Note that logs might contain private user's information (like file paths and names). 

0
评论操作 固定链接

Oh, I see that Chetferry has already filled the ticket in our support system and it has been resolved:

the -s switch (single run) helped.

0
评论操作 固定链接

Yes -s switch did the trick.

0

请先登录再写评论。