26
votes
6answers
14k views

How do you implement global iPhone Exception Handling?

I have one crash in my iPhone application that does throw an NSException. The crash reports are completely ambiguous in where the error is and what exactly is causing it. Is there a smart way for me ...
3
votes
2answers
74 views

Interpreting iPhone Crash Log / Stack Trace

I'm using the TestFlight SDK and have received several crash reports identical to this one. However, I'm having trouble understanding it, and what the underlying cause of the crash is from the ...
1
vote
3answers
56 views

LLDB: Show all objects with a pointer to an object in memory

So, at a breakpoint, I have a random object instance. I want to figure out which objects have a pointer to this object. Is there a way to see this in the debugger console? Maybe something that shows ...
4
votes
5answers
3k views

Xcode 4 "waiting for process 'Appname' to launch

I installed Xcode 4 and now cannot run one of my iPhone projects. Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome ...
0
votes
2answers
22 views

Adding an XCode breakpoint for logging NSData returned for NSRequest

I found breakpoint to be very convenient for getting rid of all NSLog statements trough all my code. This time I am looking for a way to print the html response coming from an NSRequest in a ...
0
votes
0answers
27 views

EXC_BAD_ACCESS in Xcode debugger when stepping over?

Learning how to code on Mac OS X for me is mainly about familiarizing myself with Xcode and I have this weird problem: when I debug code and I move the debugger arrowhead from one line to another, I ...
0
votes
1answer
24 views

Is it possible to jump to a specific iteration of a loop when debugging?

In Xcode, if I have a for loop that either has a hardcoded limit (i.e. only goes up to 100), is it possible to jump to a specific iteration of the loop? For example, say I have the following loop: ...
1
vote
1answer
67 views

debug: Obtain a list of all instance variables of an object (unknown type)

Is there any method to obtain (via debug) a list of all instance variables of an unknown object in Objective-c? I use lldb for debug, but I admit that I don't know it very well. Obviously I can't ...
7
votes
2answers
6k views

Application Failed to Launch in Time

How can I diagnose this error? Application Specific Information: MyApp failed to launch in time Elapsed total CPU time (seconds): 4913.443 (user 3868.270, system 1045.173), 56% CPU ...
1
vote
1answer
60 views

string of the @exp@ in breakpoint Log Message has only one first symbol

I need to trace my program. I made symbolic breakpoint: Full string is: "Class name is @*(char*)object_getClassName(*(long*)($esp+4))@" But instead full class name I have only first one symbol ...
5
votes
0answers
163 views

Is LLDB really the best debugging tool for iOS? [closed]

I'm trying to debug my iOS code on device and simulator. Every time i drop to LLDB I find it extremely frustrating to do even basic commands like "print". I find lldb to be poor at resolving return ...
15
votes
5answers
4k views

Xcode/GDB: How to get information about an exception that was just thrown?

OK, so imagine that my breakpoint in objc_exception_throw has just triggered. I'm sitting at the debugger prompt, and I want to get some more information about the exception object. Where do I find ...
0
votes
0answers
42 views

NSLog not getting printed in the console area while debugging on device?

I am facing a weird issue.NSLog statements are not getting printed to the console when i am debugging my application using the device.I even pulled the log files using the organizer even there they ...
8
votes
6answers
2k views

How to debug a Screensaver in OS X

I was wondering if there was any decent way, other than NSLog-ing just about everything - to properly debug a Screensaver app bundle in OS X? The "Screensaver" is a project type in XCode, but ...
1
vote
2answers
60 views

What does “this class is not key value coding-compliant” mean?

I'm working my way through Cocoa Programming for Mac OS X (4th Edition), and, like many others, I'm getting stuck on a challenge; specifically, Chapter 8, Challenge 1. Unable to come to the solution ...

1 2 3 4 5 24
15 30 50 per page