stancecoke
10 MW
It't quite easy.Is the process described somewhere?
1. Install the STM32 Workbench and import the project like described in the wiki
2. Compile the code once by a click on the hammer icon.
3. Create a new debug configuration with the default settings (drop down menue next to the bug icon).
4. Start a debug session by clicking the bug icon.
5. Set breakpoints at interested parts and start the execution with the play button.
6. Pause the code with the pause button, to see which part of the code is processed at the moment
7. Check variable values in pause mode with "mouse over" or by expressions.
See the screenshot in this thread, it's from the CubeIDE, not from the STM32 Workbench, but both are Eclipse based, so they are very similar.
Last edited: