-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
DevProd Build
-
ALL
-
Build OnDeck
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Our bazel gdb target requires some env vars to find and use pretty printers:
env = { "PYTHONPATH": "${workspaceFolder}/bazel-${workspaceFolderBasename}/external/gdb_v5/stow/python3-v5/lib/python3.10", "PYTHONHOME": "${workspaceFolder}/bazel-${workspaceFolderBasename}/external/gdb_v5/stow/python3-v5", "MONGO_GDB_PP_DIR": "${workspaceFolder}/bazel-${workspaceFolderBasename}/external/mongo_toolchain_v5/stow/gcc-v5/share", "MONGO_GDB_READELF": "${workspaceFolder}/bazel-${workspaceFolderBasename}/external/mongo_toolchain_v5/v5/bin/llvm-readelf", },
we should hook these up in the launch configs to make vscode able to use the bazel installed gdb