microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.5k stars 1.55k forks source link

[Feature Request] Support for debugger automation #1864

Open sevas opened 6 years ago

sevas commented 6 years ago

Hello,

I did not find any roadmap document, so I am asking here. Apology if it is not the correct place.

In Visual Studio, there is a COM interface to automate and access data from the debugger.

Technically, I'd like to be able to pipe data out of the debugger to another interactive visualization environment. Right now I'm working on it now using that DTE interface, and I'm wondering if such scriptability/debugger extension feature is planned for the VSCode C++ debugger.

Best,

Frederic

WardenGnaw commented 6 years ago

We do not have any plans for that at the moment. However, I will mark it as a feature request and we will consider it if there are many requests for it.

Thank you.

kaloianm commented 6 years ago

This is a separate issue. Moved to Separate issue. Moved to https://github.com/Microsoft/vscode-cpptools/issues/1885

Original:

Hello,

When the cppvsdbg debugger extension is used with VSCode, it offers a prompt, which is presumably for typing debugger commands. I tried using the WinDbg commands, but they are not recognized:

bt identifier "bt" is undefined

Is there a documentation somewhere about the commands which this debugger extension supports? For example I would like to be able to search for specific call stacks within the threads, dynamically place breakpoints, etc.

Thank you in advance.

Best regards, -Kal.