This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Viewing static global variables in Segger Embedded Studio

The global window in Nordic SES does not display the static global variables. I am probably missing something very simple, but I can't figure out how to view them when single stepping through a program. Could someone explain how they can be viewed?

Parents Reply
  • I've been seeing how well the watches work to inspect static global values and they have limitations. For example, when looking at the values of:

    static nrfx_spim_xfer_desc_t xfer_desc = NRFX_SPIM_XFER_TRX(m_tx_buf, BF_LEN, m_rx_buf, BF_LEN);

    only the first values are shown; I don't see an easy way of looking at the other values of the arrays: m_tx_buf and m_rx_buf. I think using watches to inspect static global values is a kludge and that this limitation needs to be fixed.

Children
Related