It seems that OpenOCD has added support for ARM聽SWO trace port.
Would be truly awesome if cpptools could add support for this and be able to output that to the debug console!
@robotdad Do you know anything about this?
@josesimoes do you have an example of how you're using this from the CLI? Are you using ST Link or something else?
Hi Mark!
I'm currently using STLink to get the SWO.
Unfortunately one can't have both STLink and VSCode connected in the same debug session...
I believe OpenOCD outputs this on a separate stream so it might be something as _simple_ as grabbing that and forward it to the VS Code debug window...
It would be nice with support for SEGGER JLink as well. Don't know about OpenOCD, but JLink opens this on a port and you can use telnet to get the output.
JLinkGDBServer -if swd -device devicename
telnet localhost 2333
Of course, this can be done by opening a new terminal in VSC, but it would be nice if it was integrated.
Was wondering if this has had any progresses... 馃槈
Any progress on this
I recently found the Cortex-Debug extension, which I鈥檝e found useful. It slows you to read registers (from an SVD file) and says it supports SWO, although I haven鈥檛 been able to get it to work.
wanted to keep this alive: any progress or plans for looking into this?
We haven't had time to look into this. I'll mark it "help wanted" to see if anyone would like to contribute.
Most helpful comment
Was wondering if this has had any progresses... 馃槈