gdb external deps:没有这样的文件或目录

时间:2019-04-18 05:28:59

标签: bazel

示例:

git clone git@github.com:rynz/test-app.git
cd test-app
bazel build -c dbg //app:app_test
gdb ./bazel-bin/app/app_test
break main
run

Breakpoint 1, main (argc=1, argv=0x7fffffffde78) at external/com_google_googletest/googlemock/src/gmock_main.cc:58
58  external/com_google_googletest/googlemock/src/gmock_main.cc: No such file or directory.

问题1:如何更正此问题,以便可以看到WORKSPACE中定义的外部依赖项的来源?

问题2:如何配置它,以便可以在vscode中调试bazel?

0 个答案:

没有答案