Debugging Lab
We have six different activities on debbuging. Each one presents a specific scenario that requires a different strategy in order to be solved.
- What seems to be the problem in this case?
- What's the name of this error, and how can it be solved?
- What caused the
EXC_BAD_ACCESS
error? - How can it be debugged and solved?
- What's the exception raised?
- How can you determine which line is raising this exception?
- How could youo print the sequence of numbers in the console without modifying the actual code?
There is an array of NSNumbers that includes one NSString.
- How could you could stop breakpoint only for the string?
The background color of the view is never changed.
- How could you reach that path of the code using a breakpoint?