I am debugging an application on a nRF5340 DK using nRF Connect SDK from VS Code. (Toolchain/nRF Connect SDK v2.9.0), everything up-to-date.
The build is "optimized for debugging".
When I set a bp in an interesting function I want to see the actual contents of an array which is manipulated.
From the context menu I select: "Reveal symbol in memory explorer" but get the error "The symbol XYZ is not included in the compiled hex file".
Actually I don't see any of my user-defined variables in the selection box.
What do I need to do to properly see the memory area and contents of a variable I want to inspect?