Replies: 2 comments 2 replies
-
Most of the time LLDB should be loading symbols automatically. There's
Try |
Beta Was this translation helpful? Give feedback.
1 reply
-
Assuming you are on Linux, the .so file should contain the debug symbols too, in which case lldb should just find them automatically as soon as your process loads the library. I would check whether the symbols are really there. Please see these instructions. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I originally asked the question on stackoverflow, but it hasn't received much attention, hence I'm asking here.
I'm debugging the C++ backend of a GUI application which lazily loads dynamic libraries (I mean
.so
files, at least on Linux), so what I normally do is.so
files, most likely the same action for which I want to debug the C++ back-end((Not important, really) Where step 6 can actually be done anytime, and steps 2 and 3 can be performed in reverse order too.)
If I have
"adapter": "vscode-cpptools"
in my JSON configuration file. Step 5 consists in running-exec shared some_library
in the console (some_library
has no/
s and no.so
extension).But what if I want to use
"adapter": "CodeLLDB"
?I've tried writing
help
in the console, but I don't see any reference to library, or .so, or similar.Beta Was this translation helpful? Give feedback.
All reactions