cancel
Showing results for 
Search instead for 
Did you mean: 

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.

TSuta.1
Associate
 
3 REPLIES 3

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
MM..1
Chief II

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

Harvey White
Senior III

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.