pyOCD
pyOCD copied to clipboard
Cannot step over / into when using ThreadX RTOS support.
Hopefully, the title describes the issue well.
For example, I'm currently at this break-point:
When I step-over or step-into, I'm always thrown into this __get_ipsr_value()
method (I'm assuming this is called by the ThreadX timer code)
Trying to step-over or step-into again, brings me back to the original break-point, and the cycle continues. The only way to break-out of the cycle is removing the original breakpoint and placing a new one elsewhere. Pressing 'Continue' brings me to the new breakpoint.
Using rtos.enable: False
in the pyocd.yaml
file makes everything work as expected. I can correctly step into and out of methods. I have essentially configured ThreadX to time-slice all threads with basically no higher-priority threads if that might be causing the issue. I doubt though.