Skip to content

Generate project-relative .lldbinit file#3303

Merged
brentleyjones merged 2 commits intomainfrom
adin/project-relative-lldbinit
Apr 29, 2026
Merged

Generate project-relative .lldbinit file#3303
brentleyjones merged 2 commits intomainfrom
adin/project-relative-lldbinit

Conversation

@adincebic
Copy link
Copy Markdown
Contributor

We stop putting .lldbinit into user's home directory and instead generate it within the .xcodeproj bundle. This prevents debugging issues with plain Xcode projects that are not generated with rules_xcodeproj.

NOTE: I tested this with various targets including WatchOS, extensions and tests and it appears to be working fine.

Closes #3134

Signed-off-by: Adin Cebic <cebic.ad@gmail.com>
@adincebic adincebic requested a review from a team as a code owner April 17, 2026 17:27
Copy link
Copy Markdown
Contributor

@brentleyjones brentleyjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! We didn't do this before because the Watch scheme didn't support it. I guess newer Xcodes finally fixed that.

@brentleyjones brentleyjones enabled auto-merge (squash) April 29, 2026 19:46
@brentleyjones brentleyjones disabled auto-merge April 29, 2026 19:46
@brentleyjones brentleyjones merged commit a1dce7f into main Apr 29, 2026
9 of 11 checks passed
@brentleyjones brentleyjones deleted the adin/project-relative-lldbinit branch April 29, 2026 19:48
@adincebic
Copy link
Copy Markdown
Contributor Author

Nice! We didn't do this before because the Watch scheme didn't support it. I guess newer Xcodes finally fixed that.

Looks like it. Hope it didn't use something cached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Writing lldbinit configuration to home directory interferes with all non-rules_xcodeproj Xcode projects

2 participants