vscode调试c++时设置的断点无法用 提示 Module containing this breakpoint has not yet loaded or the breakpoint address not be obtained有位大佬讲是不是没加 -g 选项,但我比较菜,不知道在哪加 -g 选项,麻烦能清楚指出位置,感谢。
task文件:
launch文件:
还是环境设置的问题,我建议你参考下这个,从头到尾重新设置一下编译环境的配置。
https://www.cnblogs.com/yhjoker/p/9831671.html