Vscode-cpptools: Any plans to add support for SWO output?

Created on 22 Aug 2017  路  10Comments  路  Source: microsoft/vscode-cpptools

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!

Feature Request debugger embedded help wanted

Most helpful comment

Was wondering if this has had any progresses... 馃槈

All 10 comments

@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 don't have enough experience with OpenOCD or JLink but I assume this would be a major work item and we haven't pursued it from the C++ extension side.

As with anything, our components are open sourced for the extension and MIEngine and welcome community contribution.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vicatcu picture vicatcu  路  3Comments

ismadelgad11 picture ismadelgad11  路  3Comments

DemoCrazer picture DemoCrazer  路  3Comments

jrieken picture jrieken  路  3Comments

SkyRiderMike picture SkyRiderMike  路  3Comments