cancel
Showing results for 
Search instead for 
Did you mean: 

All breakpoints are disabled in CubeIde

LMI2
Lead

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?

1 ACCEPTED SOLUTION

Accepted Solutions
LMI2
Lead

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.

View solution in original post

11 REPLIES 11
TDK
Guru

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".

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.

I can confirm, all breappoikts are disabled or not available.

I don't understand your question. You can insert a breakpoint on any line via the method mentioned above, but there aren't any breakpoints until you create them.
If you feel a post has answered your question, please click "Accept as Solution".
LMI2
Lead

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.

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".

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

LMI2
Lead

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.
Evangelist III

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