Building a bazel target in 10gen/mongo MacOS in debug mode does not produce a binary with debug symbols.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      From the chat:

      https://mongodb.slack.com/archives/CR8SNBY0N/p1750424402023749

      I tried building the target:

      • bazel build --config=dbg --fission=no //src/mongo/db/query:query_planner_test

      and then running the debugger:

      • dsymutil bazel-bin/src/mongo/db/query/query_planner_test

      Produced the following output:

      warning: no debug symbols in executable (-arch arm64)

      It could be a misconfiguration.

            Assignee:
            Patrice Arruda
            Reporter:
            Patrice Arruda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: