Tagged Questions
0
votes
2answers
28 views
Disable Terminal for Command Line Tool
I programm an artificial life simulation on my mac with Xcode in C++/OpenGL.
Due to the fact that my programm has a visual output in a seperated window,
I do not need the terminal, while running the ...
0
votes
1answer
31 views
Automatic Step over in xCode
I was debugging my code and thought about a possibility of automatic stepping over or Step into line by line in the xCode debug mode. It would be more efficient to see the way the code will be ...
-1
votes
1answer
44 views
How to debug when there are no logs?
I'm working on compas-AR app. I have UIImagePickerViewController so I can have background from device camera. Inside UIView overlay I put all UI buttons/subviews. Every method has a NSLog() at the ...
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
42 views
Disable debug logging when run on device from XCode
I implemented debug logging in my application defining a DLog function using the following code in .pch file:
#ifdef DEBUG
# define DLog(fmt, ...) NSLog((@"DEBUG - %s [Line %d] " fmt), ...
-1
votes
0answers
22 views
Storyboard problems [closed]
I always get this error when I link the viewcontrollers and run the app. return
UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));.
Is there away to debug this thing
0
votes
1answer
48 views
Running not the same app I'm debugging?
Weird stuff happening. I'm developing an iOS app under iOS 4.2 using Xcode 3. I have the same app in two different folders and they have different xib files (because of two different languages of ...
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
160 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 ...
2
votes
2answers
59 views
what happens between willSelectRowAtIndexPath and prepareForSegue? Need debugging advice
Somewhere in between these two calls, i get EXC_BAD_ACCESS (Code=2, address=0xa).
The common explanation for bad access is accessing a released object - I've compiled with NSZombies enabled and that ...
4
votes
1answer
133 views
Xcode - Break on exception, but no useable symbols
I need help figuring out the magical incantation necessary to get usable information in LLDB.
I have some strange behavior that I'm trying to debug, and I can reliably reproduce the issue but I don't ...
0
votes
1answer
20 views
XCode - Can I debug an iOS app on an iphone that is not my own?
I am testing an app, and have figured out how to distribute it (I use test flight and it works great).
But I am running into trouble on one of the test devices (my wife's. uses a different apple ...
-1
votes
1answer
63 views
xcode project paused when i run app simulator in Debug
Debug shows me this
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
and the output shows
2013-05-16 04:58:07.496 Scroll Blog[5296:c07] get_recent_post&cat=
...