Skip to content

Conversation

mgalindo-sc
Copy link

@mgalindo-sc mgalindo-sc commented Aug 5, 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: #7824

Description of this change

In Mac OS LLDB needs not only the final linked binary but also the intermediate object file. If remote download is set to minimal or top_level (default) the intermediates will not be fetched for cached builds and setting breakpoints will not work. Additionally, LLDB will compare the timestamp of the binary against the timestamp of the object file and will refuse to load it if they differ. -repro fixes this.

see #7824

Copy link

google-cla bot commented Aug 5, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions bot added product: CLion CLion plugin awaiting-review Awaiting review from Bazel team on PRs labels Aug 5, 2025
@ujohnny
Copy link
Collaborator

ujohnny commented Aug 5, 2025

@mgalindo-sc thanks for the PR, we'll get back to this soon. Please also take a look at the failed CLA check.

@LeFrosch
Copy link
Collaborator

LeFrosch commented Aug 7, 2025

LGTM, I'd like to merge #7816 first, since it introduces some tests for debug run configs

In Mac OS LLDB needs not only the final linked binary but also the intermediate object file. If remote download is set to `minimal` or `top_level` (default) the intermediates will not be fetched for cached builds and setting breakpoints will not work. Additionally, LLDB will compare the timestamp of the binary against the timestamp of the object file and will refuse to load it if they differ. `-repro` fixes this.

see bazelbuild#7824
@LeFrosch LeFrosch force-pushed the mgalindo-sc-fix-mac-os-debugging branch from 424d4df to 84bcb89 Compare September 26, 2025 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review Awaiting review from Bazel team on PRs product: CLion CLion plugin
Projects
Status: Untriaged
Development

Successfully merging this pull request may close these issues.

3 participants