Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-103858

make bazel gdb use the project root as the working dir

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Build
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      using bazel through gdb default to using the runfile directory. The usage of GDB is not intended to be perfectly sandboxed, so the runfiles directory just makes it harder for its intended use case. We should be able to make bazel use the project root as the working directory so then things like 

      bazel run @gdb – bazel-bin/install/bin/mongod

       

      are more intuitive.

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: