We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi!
I start to learn STM32 (STM32F103GB on MCBSTM32 board, example project "blinky") and have faced with following problem: I can't insert breakpoint in C and "insert/remove breakpoint" button on Debug Toolbar always disabled. The only way to define breakpoint is double-click on grey window bar in disasm window. Program executed, breakpoint in disasm occurs... but what can I do to use breakpoits in C?
Regards, Ilya.
In your project options (Alt+F7) - Output tab: Debug Information should be checked - Linker tab: Misc. controls should contain --debug With these options set, rebuild your project and see if you can place breakpoints in your C code
I added printscreens with these options (see at link for previous pictures). The result remained the same...
Are you able to set breakpoints if you debug using Simulator? (In the Debug tab of your project options it is from left)
Thank you for your attention! The problem solved.
Shouldn't you tell how you solved your problem?
Reinstall Keil and jLink drivers... That's all.