![无法打开“start.S”:无法读取文件“/home/abuild/rpmbuild/BUILD/glibc-2.26/sysdeps/x86_64/start.S”](https://linux22.com/image/170454/%E6%97%A0%E6%B3%95%E6%89%93%E5%BC%80%E2%80%9Cstart.S%E2%80%9D%EF%BC%9A%E6%97%A0%E6%B3%95%E8%AF%BB%E5%8F%96%E6%96%87%E4%BB%B6%E2%80%9C%2Fhome%2Fabuild%2Frpmbuild%2FBUILD%2Fglibc-2.26%2Fsysdeps%2Fx86_64%2Fstart.S%E2%80%9D.png)
我正在 VS Code 中的 opensuse 系统上设置和调试 C++ 程序。
调试器工作正常,没有任何问题。
但我收到一个错误弹出窗口,提示Unable to open 'start.S': Unable to read file '/home/abuild/rpmbuild/BUILD/glibc-2.26/sysdeps/x86_64/start.S' (Error: Unable to resolve non-existing file '/home/abuild/rpmbuild/BUILD/glibc-2.26/sysdeps/x86_64/start.S').
.
截图是——
我的操作系统信息是 -
$ lsb_release -a
LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: openSUSE
Description: openSUSE Leap 15.1
Release: 15.1
Codename: n/a
我该如何修复这个错误?
答案1
看看你的启动.json配置。我需要将stopAtEntry
我的情况设置为 false 来解决这个问题。