Skip to main content
TSuta.1
Visitor II
April 14, 2023
Question

breakpoint not working

  • April 14, 2023
  • 3 replies
  • 1881 views

I have installed STM32CUBEIDE for software development.

I am trying for internal debugger to debug my code and get the output on console but breakpoint not working.

C code is not dependent on hardware.

Please tell me setting in IDE so I can see output.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
April 14, 2023

How can in not be HW dependent?

You'd need to output via a USART that you've initialized and plumbed, or use the PB3 / SWO pin for the SWV methods to work.

You provide NO details of your board or the STM32 MCU model you're using.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
MM..1
Chief III
April 15, 2023

If you mean simulator debug without hw , then no in CubeIDE.

Harvey White
Senior III
April 17, 2023

The IDE does have the ability to turn off breakpoints (it's not the breakpoint window, that works to control each one individually).

It's up in the top tool bar on the left hand side.

You may be able to put in a breakpoint, and see that it is disabled with a small diagonal line through it. Not always so obvious.