Skip to content

Commit f2842ed

Browse files
committed
fix lldb can't load embedded.interpreter problem
1 parent fe988c1 commit f2842ed

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.devcontainer/Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ RUN git pull \
5858
ARG WASI_SDK_VER=24
5959
RUN wget -c --progress=dot:giga https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER}/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux.tar.gz -P /opt \
6060
&& tar xf /opt/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux.tar.gz -C /opt \
61-
&& ln -sf /opt/wasi-sdk-${WASI_SDK_VER}.0 /opt/wasi-sdk \
61+
&& ln -sf /opt/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux /opt/wasi-sdk \
6262
&& rm /opt/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux.tar.gz
6363

6464
#
@@ -168,6 +168,9 @@ ENV PATH="/opt/codeql:${PATH}"
168168

169169
# set path
170170
ENV PATH="/home/vscode/.opam/default/bin:/opt/bazelisk:/usr/lib/llvm-${LLVM_VER}/bin:${PATH}"
171+
172+
ENV PYTHONPATH="/usr/lib/llvm-14/lib/python3.10/dist-packages/"
173+
171174
# clean
172175
RUN apt-get autoremove -y \
173176
&& apt-get clean -y \

.devcontainer/devcontainer.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,16 @@
3535
"ms-python.debugpy",
3636
"ms-python.python",
3737
"ms-python.black-formatter",
38+
"ms-python.vscode-pylance",
3839
"ms-toolsai.jupyter",
40+
"ms-toolsai.jupyter-keymap",
41+
"ms-toolsai.jupyter-renderers",
42+
"ms-toolsai.vscode-jupyter-cell-tags",
43+
"ms-toolsai.vscode-jupyter-slideshow",
3944
"ms-vscode.cpptools",
4045
"streetsidesoftware.code-spell-checker",
4146
"vadimcn.vscode-lldb",
47+
"ms-vscode.cpptools-extension-pack"
4248
]
4349
}
4450
},
@@ -51,4 +57,4 @@
5157
"mounts": [
5258
"source=/mnt/workspace/SDF,target=/SDF,type=bind"
5359
]
54-
}
60+
}

0 commit comments

Comments
 (0)