Skip to main content
LMI2
Senior III
May 15, 2021
Solved

All breakpoints are disabled in CubeIde

  • May 15, 2021
  • 11 replies
  • 5306 views

I noticed that all breakpoints are disabled in CubeIde. Windows 10 probably checks for updates automatically, so this IDE can't be very old version. What can I do?

This topic has been closed for replies.
Best answer by LMI2

I got the breakpoints back. I had several project on a panel at left side of the IDE. When I took off all extra, breakpoints appeared.

11 replies

TDK
May 15, 2021

You don't have any breakpoints set. Press Ctrl+Shift+B on a line to set/unset one. Or click with the mouse left of the line.

Win10 doesn't check for updates to STM32CubeIDE automatically. You can do so with Help -> Check for Updates.

"If you feel a post has answered your question, please click ""Accept as Solution""."
LMI2
LMI2Author
Senior III
May 16, 2021

I'll try later today but I haven't seen any break points I could set, no matter what mouse button I use. But we'll see.

LMI2
LMI2Author
Senior III
May 16, 2021

The problem is that I can't create breakpoints.

With Keill and MS IDEs I just select a line and click or press something to put a breakpoint there. In Keil it is for instance F9. But here with CubeIde, choices are not active. See the picture in my first post. I think putting a breakpoint somewhere was easier earlier, or CubeIde has really strange logic with its breakpoints, which is possible.

TDK
May 16, 2021
Oh, I see. Not sure. It should work similar to your experience with Keil, which it does for me. Some possibilities here:
https://stackoverflow.com/questions/8748070/why-cant-i-set-up-a-breakpoint-in-eclipse
"If you feel a post has answered your question, please click ""Accept as Solution""."
LMI2
LMI2Author
Senior III
May 16, 2021

Thanks. It is possible that I have done something to disable them, and i may have to reinstall the IDE.

LMI2
LMI2Author
Senior III
May 16, 2021

Could it be that there is a problem wint STlink 3 mini or connections. The Ide says somewhere something like "Breakpoints supported by the CPU" :None.

I am not very spesific because the Ide is on the other HD on this machine, and I would have to boot Win 10 instead of this Win7. (Sometimes I wish I could give boot to CubeIde.)

Pavel A.
May 17, 2021

From the posted picture it looks like the program is stopped at the 1st automatic breakpoint on main().

This means that the debugger can set breakpoints and generally works well.

To set breakpoints, click on the left margin in the editor, in the column where you see the small blue arrow.

Please take your time, practice with Eclipse. It is not the most intuitive IDE.

(now you understand why Keil's debugger costs money and is worth it.)

-- pa

​

LMI2
LMI2Author
Senior III
May 17, 2021

I fully agree about Eclipse intuitiviness. Leaning a new IDE is fun, but not when you would like to have results now, instead of next year.

I'll try again, but I have tried this before.

LMI2
LMI2AuthorBest answer
Senior III
May 21, 2021

I got the breakpoints back. I had several project on a panel at left side of the IDE. When I took off all extra, breakpoints appeared.