I do the next:
- Set manual breakpoint in IDE to
void loopTask(), line 13 in your example - Start debug session
- Wait when it will stop at
app_main() - Press continue, it will run all tasks and should stop at
void loopTask() - After that, step-by-step works without issues. Be sure that you selected
loopTaskthread in CALL STACK