一、报错截图

1. Unable to start debugging.Unexpected GDB output from command.

Vscode——报错解决:Unable to start debugging.Unexpected GDB output from command. 或 程序点击运行一直无结果_GDB

2. 程序点击运行一直无结果

Vscode——报错解决:Unable to start debugging.Unexpected GDB output from command. 或 程序点击运行一直无结果_ide_02

二、原因

路径中含有中文。

三、解决办法

将文件放入不包含中文的路径下。