示例:
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?