This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't insert breakpoints by button and in C

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.

Parents
  • I have J-link and ULINK debuggers. Using ULINK I can set and clear breakpoints even when the software runs, but if I use J-link I can only set/clear first breakpoint, and I cannot set second breakpoint until I stop execution. I don't know what is causing this but I don't think it's a big deal to stop and then set a breakpoint.

Reply
  • I have J-link and ULINK debuggers. Using ULINK I can set and clear breakpoints even when the software runs, but if I use J-link I can only set/clear first breakpoint, and I cannot set second breakpoint until I stop execution. I don't know what is causing this but I don't think it's a big deal to stop and then set a breakpoint.

Children