Replies: 1 comment 4 replies
-
I think lldb is supposed to dynamically load symbols when you dlopen the library. So you should be able to seat a pending breakpoint at startup, which will be resolved and inserted once the library is loaded. Not sure if this works on all platforms, though. Other than this, |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
dlopen breaks the dynamic library dependency of binary. So when attaching the process at the very beginning, lldb will not automatically load those libraries. Could I load those libraries before dlopen passed and set a breakpoint?
Beta Was this translation helpful? Give feedback.
All reactions