Skip to main content
Senior
February 11, 2026
Solved

SWO output data to VScode console or other?

  • February 11, 2026
  • 3 replies
  • 291 views

Hi,

I haven’t used SWO functionality before, but I now need it to stream real-time data.

I’m using VS Code with the STM32CubeIDE extension, but I haven’t found any options to configure and display real-time data (via SWO) in a VS Code window. How can this be done?

If this isn’t possible in VS Code, what alternatives would you recommend? Ideally, I’d like to output both text messages and real-time numeric data, with the data automatically plotted on a chart. What is the best way to achieve this?

Thank you

3 replies

Nawres GHARBI
Nawres GHARBIBest answer
Technical Moderator
February 11, 2026
RickoAuthor
Senior
February 11, 2026

Thank you @Nawres GHARBI 

that is very useful for text. Are there workaround for the graph side of things? i.e. to stream data to some graphical window in VScode or some other external app so it plots those data points in real time?

Thank you

Nawres GHARBI
Technical Moderator
February 13, 2026

hi @Ricko yes that's in real time

RickoAuthor
Senior
February 14, 2026

thank you @Nawres GHARBI 

not sure if I am missing something but openOCD does not seem to be able to plot data onto a graph which what I was asking. How can I do that?

Many thanks