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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…