This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

VS Code Watch window real time update

I have been using Segger Embedded Studio to develop in and recently switched to use VS Code with NCS.

It was always very useful to use Segger's watch window with the real time update turned on to see multiple variables change in real time. 

I've tried to do this same thing in VS Code but it seems like the watch window will only update if a break point is hit.  Does anyone know if VS Code has a real time update feature?

thanks,

Chris

  • We got this request before and our developers things that this is not a good thing to add support for this feature in the VSC debugger level. The API that VSC will have to use to implement this will most likely interfere with the CPUs accesses and possibly introduce bugs. In addition you're likely to get out-of-sync data if you're looking at things that the CPU is keeping in registers.

    This use case should be handled with RTT or ITM tracing rather than forcing debugger reads.

  • That is unfortunate that this feature wont be supported in VSC. We use this feature daily in Segger and it has been invaluable to our development.

  • you can still use Ozone on the executables created by VSC to have the same debugging features from Segger. It is one extra step inconvenience but atleast should give you a similar debugging experience.

Related