Hi,
This is by design. FreeRTOS does not always keep a global list of all synchronization primitives, so VisualGDB obtains it by looking through all global variables.
If you would like VisualGDB to automatically locate a queue or another similar primitive, please consider declaring a global handle variable and assigning it with a copy of your object.
You can also try extending the primitive location logic by extending our open-source FreeRTOS plugin, however this is something to do at your own risk.