Inserting a breakpoint will stop program execution

Answered

Version: CLion 2021.3.3
Microcontroller: STM32G484VE
Debugger: SEGGER JLink
GDB Server: JLink GDB Server

My application is running freely.
When I insert a breakpoint the execution is stopped and CLion points to code at which it was stopped.
I can manually run the code again and finally the breakpoint will get hit.
This behaviour is known in processor core that does NOT support inserting breakpoint without stopping the execution.
In that case the processor supports inserting the breakpoint on-the-fly and it works in other IDEs.

Why this does not work in CLion? It breaks the debugging process.
How to change it?

5 comments
Comment actions Permalink

@Melindaetinw81

I think you did not read my post clearly or have little or no experience with embedded debuging.

0
Comment actions Permalink

@Anna Falevskaya
I will try workaround described in the post.
You have posted also a "this workaround" link but it is broken.
Thank you for your support!

0
Comment actions Permalink

Sorry for my mistake, I edited the link (now it refers to the particular comment of the issue).

0
Comment actions Permalink

@Anna Falevskaya

The workaround works :)
In my opinion this feature should be allowed to configure from inside of settings not registry.

0

Please sign in to leave a comment.