有关vscode C++调试error的问题

图片说明

求大佬解惑
使用vscode调试c++代码出现以下错误:

ERROR: Unexpected GDB output from command "-exec-next". Cannot find bounds of current function

ERROR: Unexpected GDB output from command "-exec-step". Cannot find bounds of current function

(vscode c++的环境配置真是太难了...)

https://blog.csdn.net/qq_41928202/article/details/107742590

是不是没有通过G++来编译呢?我对用code runner插件生成exe文件debug时也会提示这种错误信息。

请问解决了吗?