Skip to content
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

Xcode -> Bazel Debugger integration may stop working under certain situations #223

Open
jerrymarino opened this issue Feb 14, 2020 · 2 comments

Comments

@jerrymarino
Copy link
Collaborator

Currently, we have a few ways to integrate with the debugger that may have fragility, especially in situations like migrating to Bazel. After running a Bazel build for the first time we generate a source map into the home directory.

Confirm if:

  • Xcode is able to load this source map consistently and try to mitigate it otherwise
  • Switching between Bazel and Xcode is working
@jerrymarino
Copy link
Collaborator Author

This requires a deeper investigation and manual testing to reproduce

The current workaround for this issue is:

  • validate that the correct .lldbinit files are inside of ~/: ~/.lldbinit and ~/.lldbinit-tulsiproj
  • if the correct LLDB init files aren't there then do a Bazel build
  • restart Xcode

@fnazarios
Copy link

Hi @jerrymarino. We just finish our implementation with Bazel and XCHammer and we are unable to run the app on a simulator by Xcode. Xcode prompts the message "Could not attach". Does this behavior have any relationship with this issue?

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

No branches or pull requests

2 participants