You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ uname -a
Linux s4124-0035 5.15.0-84-generic #93-Ubuntu SMP Tue Sep 5 17:16:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Thanks in advance!!
How can I get similar function in codelldb just like bellow in VsCode default C/C++ debug tool.
I don't want to set env LD_LIBRARY_PATH or write this in cmake because I want to debug different so library dynamically.
I set like this for lldb debug but not take effects
At the same time, unfortunately, even though I added LD_LIBRARY_PATH=~/_out/Linux_amd64_debug:~/llvm/build/lib to my ~/.zshrc and restarted my vscode, the dynamic link libraries under the LD_LIBRARY_PATH path still cannot be found by the dynamic linker.
Multiple errors:
DynamicLib: Error while loading shared library 'libllvm.so'
-> libllvm.so: cannot open shared object file: No such file or directory
DynamicLib: Error while loading shared library 'libllvm.so.560.00'
-> libllvm.so.560.00: cannot open shared object file: No such file or directory
If I just run the program by command in terminal it can run correctly.And I can get same error above when I unset LD_LIBRARY_PATH then run the program in terminal.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
❯ uname -a Linux s4124-0035 5.15.0-84-generic #93-Ubuntu SMP Tue Sep 5 17:16:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Thanks in advance!!
How can I get similar function in codelldb just like bellow in VsCode default C/C++ debug tool.
I don't want to set env LD_LIBRARY_PATH or write this in cmake because I want to debug different so library dynamically.
I set like this for lldb debug but not take effects
At the same time, unfortunately, even though I added
LD_LIBRARY_PATH=~/_out/Linux_amd64_debug:~/llvm/build/lib
to my ~/.zshrc and restarted my vscode, the dynamic link libraries under the LD_LIBRARY_PATH path still cannot be found by the dynamic linker.If I just run the program by command in terminal it can run correctly.And I can get same error above when I unset LD_LIBRARY_PATH then run the program in terminal.
Beta Was this translation helpful? Give feedback.
All reactions