Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot step over / into when using ThreadX RTOS support. #1645

Open
maxkunes opened this issue Nov 9, 2023 · 0 comments
Open

Cannot step over / into when using ThreadX RTOS support. #1645

maxkunes opened this issue Nov 9, 2023 · 0 comments

Comments

@maxkunes
Copy link

maxkunes commented Nov 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant