Loading...
 
Skip to main content

System Workbench for STM32


Cannot Step Through Source Code

This problem is solved. This is what I did to solve it:

With the project selected in the Project Explorer panel I did these settings:

Project => Properties => C/C++ Build (Tree) => Settings => Tool Settings (Tab) => MCU GCC Compiler (Tree) => Optimization
In the "Optimization Level" list box field I selected "Optimize for Debug (-Og)

Project => Properties => C/C++ Build (Tree) => Settings => Tool Settings (Tab) => MCU GCC Compiler (Tree) => Debugging
In the "Debug Level" list box field I selected "Maximum (-g3)"

 
Collapse/expand modules below