Vscode-cpptools: please remove the need to type -exec in debug console to execute a native debugger command

Created on 15 Sep 2018  路  3Comments  路  Source: microsoft/vscode-cpptools

Type: Debugger

Given the fact that the debugger GUI in Visual Studio code is still quite primitive and does not provide anything more than the basics, one still has to use native debugger commands in console quite intensely for non-trivial debugging. (really, even if you would have enough features in debug UI to rival Visual Studio debug commands would still be necessary IMO)

Having to prefix a native debugger command with -exec is very cumbersome and greatly diminish the speed of ones work.
More than this, it appears to me that the existence of -exec cannot be motivated in any way. First of all, the debugger command window offers all the context you needs, you are only expected to type debug commands there.
Second, if -exec is needed for some esoteric reason , just build a new string yourself behind the scenes. Or if this would interfere with debugging in other modes/languages provide a configuration flag
in the debug settings json and build it only when it is set. Please spare C/C++ users of this pain

debugger duplicate

Most helpful comment

I posted there, but that issue is 2 years old, and prolly nobody gave a damn. Meanwhile, debugging with gdb in Visual Studio Code is and remains a nightmare.

All 3 comments

+1

Duplicate of https://github.com/Microsoft/vscode-cpptools/issues/106

Please continue discussion on that issue.

I posted there, but that issue is 2 years old, and prolly nobody gave a damn. Meanwhile, debugging with gdb in Visual Studio Code is and remains a nightmare.

Was this page helpful?
0 / 5 - 0 ratings