Skip to content

Make debugging source mapping optional #7664

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mauriciogg
Copy link

@mauriciogg mauriciogg commented May 9, 2025

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

Issue number: Issue number: #7663

Description of this change

ASwB maps /proc/self/cwd -> workspace root which is likely logic specific to Google Forge builds and creates issues for Android Studio when it tries to resolve sources. It also assumes Linux only builds which is not the case outside google This PR allows to turn off the mapping using the registry key bazel.cpp.debug.map_working_dir

Issue number: bazelbuild#7663

Intellij maps /proc/self/cwd -> workspace root which is likely logic specific to Google Forge builds and creates issues for intellij when it tries to resolve sources. It also assumes Linux only builds which is not the case outside google
This PR allows to turn off the mapping using the registry key `bazel.cpp.debug.map_working_dir`
@github-actions github-actions bot added product: CLion CLion plugin awaiting-review Awaiting review from Bazel team on PRs labels May 9, 2025
@odisseus odisseus assigned mai93 and unassigned ujohnny May 12, 2025
@odisseus odisseus added product: Android Studio Android Studio plugin and removed product: CLion CLion plugin labels May 12, 2025
@odisseus
Copy link
Collaborator

odisseus commented May 12, 2025

@mai93, can you review these changes in the context of Android Studio? I see no point in merging them into this repository.

@mai93
Copy link
Collaborator

mai93 commented May 12, 2025

I think this is related to https://issuetracker.google.com/issues/409978995, if so can you mention any relevant PRs there? so the ASwB team can check them. If they think a PR is acceptable, I can help merging it to AOSP.

@odisseus odisseus removed the awaiting-review Awaiting review from Bazel team on PRs label May 14, 2025
@odisseus odisseus mentioned this pull request May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: Android Studio Android Studio plugin
Projects
Status: Untriaged
Development

Successfully merging this pull request may close these issues.

5 participants