Hi
in NRF connect SDK is it possible to watch variable during run time?
In STM32 CUBE IDE this is called live view of variables.
Thx
Hi
in NRF connect SDK is it possible to watch variable during run time?
In STM32 CUBE IDE this is called live view of variables.
Thx
Hi,
This can be done using Debugging. See https://www.youtube.com/watch?v=IDC2m91xMb0
Regards,
Sigurd Hellesvik
As far as I see in the video, the value of the counter is only shown when the processor is halted, not when the processor is running. Correct???
When the processor is running the value of a global variable is shown as "not available".
IN the example in the video watch variable rx_data is a local variable, so I assume thats why it says "invalid" .
klaus1234 said:As far as I see in the video, the value of the counter is only shown when the processor is halted, not when the processor is running. Correct???
Correct, you halt to see what the variable is.
klaus1234 said:IN the example in the video watch variable rx_data is a local variable, so I assume thats why it says "invalid" .
You must be in the scope of the variable to see the variable.
So in general NRF connect SDK does not support live view of variables? This is when processor is running , but the debugger keeps updating the value of the variables in watch window.
klaus1234 said:So in general NRF connect SDK does not support live view of variables?
That is correct.
Is there any specific use-case you need this feature for?
Maybe there is another way to solve that.
Hi
Well, this is a basic debugging feature, which is missing. I will you use logging instead.
Just wanted to make sure that my setup is fine.
Thanks
Hi
Well, this is a basic debugging feature, which is missing. I will you use logging instead.
Just wanted to make sure that my setup is fine.
Thanks