vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Misleading error message when GDB is not installed

Open Colengms opened this issue 3 years ago • 2 comments

Bug type: Debugger

If I don't have GDB installed (yet), and try to use the 'build and debug active file' feature (on Linux, with g++), I get an error message:

image

However, all I have at this point is tasks.json (not launch.json, which it refs to), and there is no reference to miDebuggerPath in it.

It would be useful if this error message provided enough information to determine that the issue is that GDB needs to be installed.

Colengms avatar Feb 10 '22 23:02 Colengms

Same issue when trying to use clang++. The error message could be more actionable.

Colengms avatar Feb 10 '22 23:02 Colengms

@elahehrashedi Should this moved to 1.11?

sean-mcmanus avatar Jun 07 '22 02:06 sean-mcmanus