AOT debug flags #4242
Unanswered
borjatelladotecnalia
asked this question in
Q&A
AOT debug flags
#4242
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Trying to debug a very simple aot file compiled with very single compilation flags :
1.- wasm file generation flags: ${WASI_SDK_HOME}/bin/clang -g -O0 -o ${FILE}.wasm ${FILE}.c
2.- aot generation flags: ${WAMR_HOME}/wamr-compiler/build/wamrc --opt-level=0 -o ${FILE}_x86.aot ${FILE}.wasm
3.- Debug command :
~/wasm-micro-runtime/core/deps/llvm/build/bin/lldb ~/wasm-micro-runtime/product-mini/platforms/linux/build/iwasm -- ${FILE}.aot
But whenever I try to explore the value of any variable ( p <variable_name> ) I get the foollowin error
error: expression failed to parse:
error: <user expression 0>:1:1: use of undeclared identifier 'vb'
where vb is the name of variable to explore.
I missing something?
Beta Was this translation helpful? Give feedback.
All reactions