2019-10-23 09:01 PM
When I hit Debug. System stops at first line of main() as intended. However no matter how I setup any breakpoints on the rest code, and hit Resume(F8) button. The code never stops on those breakpoint. even though I am 100% sure those breakpointed line code got run already. and if I hit suspend. the code stops normally. Also step into or over works normally. ( I am sure that the number of breakpoints I setup is less than 4) I checked log file of st link GDB server. I did not see any breakpoint setting command sent to the debugger via the SWD. Is this a software bug of CubeIDE? I saw some youtube video. it shows the breakpoint works fine. Could anyone give me some hint. I stuck on this issue for two days. :(
Solved! Go to Solution.
2020-03-26 07:26 AM
Hi BLu.397,
Have you made sure breakpoints aren't globally disabled? There is an option under Run -> Skip All Breakpoints Ctrl+Alt+B
I'm using Cube IDE 1.3.0
Cheers...
2019-10-24 09:25 AM
Have you tried setting no optimizations (-O0) ?
2020-03-26 07:26 AM
Hi BLu.397,
Have you made sure breakpoints aren't globally disabled? There is an option under Run -> Skip All Breakpoints Ctrl+Alt+B
I'm using Cube IDE 1.3.0
Cheers...
2021-03-16 01:48 AM
Solved my problem, thanks!
2021-03-17 12:46 PM
Hi @DFres.1 ,
Did the solution proposed by @David SIORPAES or @Mavoodoo solve your problem?
Please mark the post that helped you by clicking on the "Select as Best" button.
Otherwise, share your solution and mark it as a Best Answer.
Imen
2021-03-18 12:06 AM
Yes, the answer from @Mavoodoo solved my problem.
How do I find the "Select as Best" button?
2021-03-18 12:38 AM
Hi @DFres.1
I"m so glad to know that your issue is solved :smiling_face_with_smiling_eyes:
There is a "Select as Best" button at the bottom of the Mavoodoo's answer as you see in this screenshot :
Imen
2021-03-18 12:45 AM
Here is actually the view from my side @Imen DAHMEN , no buttons there.
But thank you for the prompt answers anyway.
I appreciate it, have a pleasant day.
2021-03-18 12:58 AM
In fact, the owner of this post and ST-moderators can mark the post as Best Answer.
I just marked it.
Thanks @DFres.1 for your contribution =)
2021-07-20 07:14 AM
Hi all, I'm same issue. Please, could you help me?