Inserting a breakpoint will stop program execution Follow
Version: CLion 2021.3.3
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?
Please sign in to leave a comment.
Maybe you face https://youtrack.jetbrains.com/issue/CPP-21631/GDB-allow-sigtrap-as-interrupt-signal. Could you please try this workaround?
I think you did not read my post clearly or have little or no experience with embedded debuging.
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!
Sorry for my mistake, I edited the link (now it refers to the particular comment of the issue).
The workaround works :)
In my opinion this feature should be allowed to configure from inside of settings not registry.