I have two projects, one is the networkLib
for login and some other network function, the other is the usingLibDemo
. So I have all the source code of both projects.
The networkLib
project outputs a framework, called myNetKit.framework
, which is used by usingLibDemo
.
Now I successfully use myNetKit.framework
to login, but sometimes it crashes, maybe in main() without stack information, but sometimes Xcode gives me the stack info like below:
So I know where it crashes:
But the Utils.m
is not exposed, how Xcode gets the stack info and the crash line, and eventually open the source file for me? Because that I have the source code in my disk?
If so, how can I debug the myNetKit.framework
step by step, when it is not crashed?
Thanks a lot for any tips.
If someone would have the same question in future (now I am using Xcode 8):
You can:
Don't forget set some breakpoints in your framework project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With