vscode调试c++时设置的断点无法用 提示 Module containing this breakpoint has not yet loaded or the breakpoint address not be obtained
有位大佬讲是不是没加 -g 选项,但我比较菜,不知道在哪加 -g 选项,麻烦能清楚指出位置,感谢。
task文件:
launch文件:
vscode调试c++时设置的断点无法用 提示 Module containing this breakpoint has not yet loaded or the breakpoint address not be obtained
有位大佬讲是不是没加 -g 选项,但我比较菜,不知道在哪加 -g 选项,麻烦能清楚指出位置,感谢。
task文件:
launch文件:
在使用 make 命令时,可以通过在 Makefile 文件中指定 CFLAGS 变量来传递 "-g" 选项给 GCC 编译器。