I want this FreeRTOS thread/stack awareness like this (see the first body image)
VS Code call stack window with FreeRTOS awareness
I’ve found threads asking about this with OpenOCD:
RTOS Awareness with OpenOCD and workaround
And an issue where the set up of the debug_server =
lines are difficult to parse:
Custom debugger issues
I think I need debug_server =
options to specify the JLink GDB server should have -rtos GDBServer\RTOSPlugin_FreeRTOS
in it’s execution.
I typically get the “could not start debugger, check path” error, but I think that’s related to the strange parsing behavior, I’ve got past that but still no successful connection.
- Is this even possible?
- Is there an easier way to get the
-rtos
flag in JLink debugging? - Do I need
tool=custom
andserver= etc
lines? Am I trying to target JlinkGDBServerCL.exe?