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

Enable to switch from one call stack to another #19

Open
JackHerRrer opened this issue Jan 30, 2023 · 2 comments
Open

Enable to switch from one call stack to another #19

JackHerRrer opened this issue Jan 30, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@JackHerRrer
Copy link

I hope this is the right place to report this issue.
I have a project that uses freeRTOS. When debugging it, I cannot switch from the call stack of a task to another. The only call stack I can explore is the one of the task that was active at moment I paused the program.
When using IAR, jumping from one call stack to another works great.
I don't know if this is linked or not but, in the "embedded tools: rtos viewer", when I click on the task name, it only adds a variable in the "watch view"
Is it a bug ? Or is it just an unavailabe feature ?

@benmcmorran
Copy link

This is the expected behavior currently. The RTOS viewer inspects memory to show available RTOS objects, but the call stack view is controlled by the threads returned from the debug adapter itself. To visualize FreeRTOS call stacks using C-SPY, you'll want to investigate RTOS awareness plugins for C-SPY.

@HampusAdolfsson HampusAdolfsson added the enhancement New feature or request label Feb 2, 2023
@HampusAdolfsson
Copy link
Collaborator

This is something we might be able to support in the future, by exposing windows from C-SPY's RTOS plugins in VS Code.

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

No branches or pull requests

3 participants