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.
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.
I don't think it's a big deal to stop and then set a breakpoint. Depends on the application.
If application is working in a more complex system, let's say with CAN communication and motor control, you can't afford to stop the program just to set a breakpoint.....
You can set your breakpoints before run or you can set advanced breakpoints