2026-03-31 2:45 AM - last edited on 2026-03-31 3:55 AM by Andrew Neil
When i try to add breakpoint, there is a cross sign on breakpoint symbol. So even if the code works, breakpoint never works.
I try to add __asm("BKPT 0"); but it also did not work.
I am not sure what is the problem.
My CubeID version is:
Version: 2.1.1
Build: 28236_20260312_0043 (UTC)
Solved! Go to Solution.
2026-03-31 3:32 AM - edited 2026-03-31 3:32 AM
CubeIDE is built on Eclipse, so it's often useful to search the internet using "Eclipse" rather than "CubeIDE" as a keyword.
eg, googling "eclipse crossed-out breakpoint" found this - does that help?
(other internet search engines are available)
2026-03-31 2:52 AM
Are you trying to place a breakpoint where there is no actual code?
Please show a screenshot of what you're seeing.
Please give details of your board, and what debug probe you're using - see: How to write your question to maximize your chances to find a solution
2026-03-31 2:55 AM
2026-03-31 3:00 AM
You didn't answer the other question:
Please give details of your board, and what debug probe you're using
Are you able to single-step that code?
Can you place breakpoints elsewhere?
2026-03-31 3:08 AM
My board is STM32F407 discovery. I connect my board with USB-cable. For UART, i use TTL converter. I did not do single-step. When UART gets data (LED_ON) command from hercules, with my setup program must stop. But LED becomes on but program did not stop at the line which is on screenshot. I did not use specific probe or any kind of tool. My setup is basic.
2026-03-31 3:17 AM
@tensaisakuragi06 wrote:I did not do single-step..
Please try it - does it work ?
Also please try setting breakpoints elsewhere - do they work ?
@tensaisakuragi06 wrote:I did not use specific probe or any kind of tool.
The STM32F407 discovery board has a built-in ST-Link
2026-03-31 3:20 AM
Whenever i add breakpoint it displays a cross symbol on it. Videos on internet, other ppl breakpoints doesnt not have a cross symbol on it. I try step-by-step, putting different lines of codes, inside the uart interrupt, outside the interrupt, inside the main etc. Breakpoint is not active. I made search about it but can not solve it yet.
2026-03-31 3:32 AM - edited 2026-03-31 3:32 AM
CubeIDE is built on Eclipse, so it's often useful to search the internet using "Eclipse" rather than "CubeIDE" as a keyword.
eg, googling "eclipse crossed-out breakpoint" found this - does that help?
(other internet search engines are available)
2026-03-31 3:40 AM
Thank you. I try to figure out for 1 day. On ..flow forum, they mention a settting which is Run> Skip all Breakpoint. In my setting this is selected. But i am sure i did not select it.