-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help wanted] Vscode debugging can't mount source code #8394
Comments
|
@mattklein123 @alyssawilk please take a look. |
After the failure in mac, I also encountered an error in compiling the ubuntu virtual machine(16.04.6) -:( bazel build --verbose_failures --sandbox_debug //source/exe:envoy-static
g++ version:
|
Debugging bazel-compiled binaries on MacOS has never worked reliably: bazelbuild/bazel#6327. This problem is not exclusive to Envoy. For the Ubuntu build failure, |
@zuercher In order to speed up the compilation, I did allocate 6 core CPUs to the virtual machine. At present, I have solved the debugging problem in the mac, as a beginner of envoy, thank you again. I am closing this issue now. |
@zonghaishang How have you solved the debugging problem in the Mac? |
WARNING: If you want to report crashes, leaking of sensitive information,
and/or other security issues, please consider
reporting them using appropriate channels.
Issue Template
Title: One line description
Description:
How to view the code in vscode debugging?
Compile everything in my mac,
bazel build -c dbg --copt=-fno-limit-debug-info //source/exe:envoy-static
Here is my git repo:
https://github.com/zonghaishang/envoy.git
branch:local_develop
Here is my debug config(lanch.json):
[optional Relevant Links:]
Bug Template
Title: One line description
Description:
Repro steps:
Admin and Stats Output:
Config:
Logs:
Call Stack:
The text was updated successfully, but these errors were encountered: