Saturday, October 5, 2013

Program runs when suddenly flash back

In Console prompt message is
Sep 20 17:03:59 unknown com.apple.launchd [1] : (UIKitApplication:-55Crwon.demoTwoDevice [0x7917]) Job appears to have crashed: Segmentation fault: 11
Sep 20 17:03:59 unknown SpringBoard [27] : Application 'demoTwoDevice' exited abnormally with signal 11: Segmentation fault: 11

I was in a real machine above debug, because a novice and do not know how to find an error, we ask a? ? XCODE wrong information indicated rarely seems like VS, error is that it can quickly narrow the scope of
Reply:
From the beginning of the file
main.mBreakpoints, step by step
Reply:
quote 1 floor reply:
main.m file from beginning
A step breakpoint

Real machine above debug can also set breakpoints do? When a crash can not automatically jump to the wrong place?
In the long run the program should appear when the occasional flash back
Reply:
Memory leaks are generally the type of problems it
Reply:
More than 90% of the problems are memory problems
Reply:
4th Floor reply quote:
90% or more of the problems are memory problems

Want to know how to see the collapse of the information, and then through the crash information to determine the location code, wondered not
Reply:
Look what actions you performed to find reproduce the steps, and then be able to determine the approximate problem areas, then break point to debug, gradually narrowing the range, and then be able to find.

No comments:

Post a Comment