pyOCD icon indicating copy to clipboard operation
pyOCD copied to clipboard

Cannot step over / into when using ThreadX RTOS support.

Open maxkunes opened this issue 7 months ago • 0 comments

Hopefully, the title describes the issue well.

For example, I'm currently at this break-point:

image

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)

image

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.

maxkunes avatar Nov 09 '23 23:11 maxkunes