-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add an OS X debugging workaround. #5334
Conversation
This is nice and looking great! Review status: 0 of 4 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
@david-german-tri , I've tried it on my machine. Somehow it didn't work as expected but after some builds, it started working. I've figured out a way to reproduce my issue. PTAL. The following works:
The following doesn't work:
Review status: 0 of 4 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
@soonho-tri Ah, interesting. Disabling the sandbox does not invalidate the cache. Let me see if I can work around that, but if not, I guess we'll document another |
It's be great if we can have Review status: 0 of 4 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
This generates .dSYM files for cc_binary and cc_test rules. See bazelbuild/bazel#2537
6ee3590
to
3d482da
Compare
done, PTAL
Sadly, no, that's semantically backwards. Review status: 0 of 4 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
Reviewed 4 of 4 files at r1. Comments from Reviewable |
+@RussTedrake for platform review, since you volunteered on Slack to be the guinea pig Review status: all files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
tested. i *think* it worked. lldb shows more symbols. thank you!!
gdb looks like it gets farther than before? (working from memory here):
but still barfs when I go to actually run:
is there a way to make the clion integration call --config=apple_debug instead of -c dbg? Review status: all files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
Hi Russ , I think one way is to have the following line at
Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
would that mean that it's always compiling in debug mode, though? Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
That's correct. Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
FYI, I've asked David this before:
Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
Note that "Can |
@jwnimmer-tri , that's right. Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
@RussTedrake @soonho-tri Could you try adding Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
If you can Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
I'll try to reproduce this when I'm next in front of a mac with a codesigned gdb. Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
See bazelbuild/bazel#2537
@soonho-tri for feature review
This change is