[ LLDB Debug] How to use lldb to debug UntiyFramework

Can someone explain how I can use lldb to attach UnityFramework instead of attacking standard Binary?
Because most of the Unity Games now have to change the library to UnityFramework.

Thanks so much

emmm,attaching a framework, have two cases。

case one:
DYLD load library.if you want to attach,you need to read the source code of dyld。

in this case, need to set breakpoint at  DYLD soruce code,where which load library.

case two :
API load library. such as dlopen ,this can load library to executable binary.

in this case, need to set breakpoint at  dlopen api.
1 个赞