7 years, 5 months ago.

Debuging code

Why I can not select some of my lines as break points? The ones I can select has a gray area to the left and the ones that can't be selected do not show the gray area to the left. The ones that work, show a red circle when I select a break point. The others show a circle with a warning sign inside. What is going on and how can I fix this? Earlier today I was debugging the same program and all lines were available for breakpoints, suddenly something happened and that changed.

Question relating to:

STM32 Nucleo-144 development board with STM32F746ZGT6 MCU, supports Arduino, ST Zio and morpho connectivity

What IDE are you using? Usually you only get a fixed number of breakpoints, maybe 5. Could you have used them all up? Try clearing all breakpoints and starting again.

posted by Graham S. 24 Oct 2016

Thank you for your reply. I am using KEIL uVision5. But I have already found the problem and it was related to the optimizations. The level has to be selected to 0-0 and then all the lines are available for break points. Thanks

posted by Eduardo Lima 24 Oct 2016
Be the first to answer this question.