1.When my application crashes and there is no message in the console window, Xcode shows me a green line with the EXC_BAD_ACCESS or PROGRAM RECEIVED SIGNAL SIGABRT signature in the code editor. The question is: does Xcode always put this green line in the line of code where the error is placed? If I see this green line placed on a line
[myObject myMethod]
Can I be sure that the error must be found inside the myMethod function? Or maybe it could mean something else?
2. Sometimes this green line is placed inside the main.m
file in the line
int retVal = UIApplicationMain(argc, argv, nil, nil);
Do you know what specifically relates to the placement of the hint? What does it mean?
3. Sometimes a strange thing also happens: Xcode shows me a file with assembler code and a green line inside this code. What for? What should I understand when I see this?
4. If I repeat the following: enter the screen, then do something, then close the screen - my application will crash. It may fall a second time or on the seventh. What are the most common causes of such a crash? Memory leak? But Analyze tells me there are no leaks in my application. What do you think it could be?
source share