Skip to main content
yves2brest
Associate II
March 18, 2022
Solved

Breakpoint not working in STM32cubeIde1.8 because of build options

  • March 18, 2022
  • 2 replies
  • 2166 views

I work with STM32CubeIde 1.8. I put stop points, they are not taken into account by the debbugger. I assume that the C compiler options are chosen to optimize the code at the busy memory and execution speed level. With these options it does not take into account the points . how to modify these options ?

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

To access compiler options: right click the project name, then "Properties"

C/C++build > Settings > Tool Setting tab

Then select the tool entry like "Optimization"

2 replies

Nikita91
Nikita91Best answer
Lead II
March 18, 2022

To access compiler options: right click the project name, then "Properties"

C/C++build > Settings > Tool Setting tab

Then select the tool entry like "Optimization"

yves2brest
Associate II
March 18, 2022
Hello Being accustomed to other development environments I had not noticed the possibility of invalidating the breakpoints to the left of « Terminate and Relaunch. Your answer led me to search and I validated the hold points. This allows me to see the essential error of the program. Thank you. <> Garanti sans virus. www.avg.com <> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
yves2brest
Associate II
March 18, 2022

Being accustomed to other development environments I had not noticed the possibility of invalidating the break points to the left of « Terminate and Relaunch. Your answer led me to search and I validated the hold points. This allows me to see the essential error of the program.

Thank you.