I've got a XCode workspace.
This workspace holds the main target (Swift) and a target with a dynamic library embedded in a framework.
The entry of the framework is a wrapper class written in Objective-C++. The dynamic library has been written in C++.
The project seems to compile and link fine, but when I execute one its methods, it throws me back an error I would like to debug.
I tried stepping in with the debugger but then I only get int the stack. I can try to follow the stack but I can't print any variables, it only shows the method names that have been called.
I also tried an exception breakpoint, but it only stops in the Objective-C++ wrapper layer.
Is there any way to debug the insides of the dynamic library with XCode or LLDB?
Thanks
dirjust tells gdb about other places to look for source files, in case they aren't where the debug info says they are. But the source files by themselves can't provide the mapping from lines -> instructions as they have no way of knowing how the binary was built. You need the debug info for that. Similarly, if symbols have been stripped, lldb has no way to reconstruct them except debug info. If you want to do symbolic debugging of this library you need to either build it locally, or get a dSYM with debug info from whoever provided the library.