0
votes
1answer
27 views

Automatically show properties of C++ objects in Xcode debugger

The Xcode debug area can sometimes show a summary of the most important variables inside of an object that's in the list, without the need to expand the object to see it's individual members. Is ...
0
votes
1answer
21 views

How to “back trace” called functions on XCode

I can't figure out exactly where my code is crashing. It doesn't happen always. So, I guess that it would be very useful to check the callstack. But on XCode I can just see the these very low level ...
2
votes
0answers
12 views

Can I still symbolicate a distribution build that stripped its debug symbols?

I have two related questions actually: If I want to be able to symbolicate crash logs from a distribution build (that is, a build I gave to someone to beta test my application - not one that is ...
0
votes
0answers
48 views

how to display an x.position in my sprite?

i have a method to create sprites with an initial position, final position, height, image of the sprite and a name property to the sprite (to access the sprite later) The problem is when i need to ...
4
votes
3answers
117 views

no Objective-C description available - Why?

I really have no idea why on this particular project my debugger is extremely 'disabled'. For example I'll want to get info on an object: (lldb) po [_model dictionaryValue] [no Objective-C ...
0
votes
1answer
59 views

Command line application: How to attach a child process to xcode debugger?

I'm currently making a command line app in C in which many child process is created. So I need to debug this children code. I have created a child process on Xcode as follow. (see the break point and ...
1
vote
1answer
55 views

Getting rid of SIGABRT error

I keep trying to launch my app and it keeps "terminating with uncaught exception of type NSException" and sending me from the simulator back to this xcode screen: ![enter image description here][1] I ...
4
votes
1answer
74 views

How to locate where the bug is for “unrecognized selector sent to instance”?

Sometimes my app crashes because of this error log: -[NSNull floatValue]: unrecognized selector sent to instance 0x3befd090 I didn't call any "floatValue", so how can I locate which exact line ...
0
votes
1answer
47 views

Thread 1: signal SIGABRT error in main

Got this error message in the main function. Am new to debugging this kind of error in Xcode 5, so would appreciate your suggestions about how to approach this kind of error. Thanks in advance. ...
0
votes
1answer
17 views

Log does not come out

I am trying to make a log appear using this code. However I cannot see the log. xcode just crashes. -(void) deleteMyFiles:(NSString*)filePath { NSError *error; if([[NSFileManager ...
0
votes
0answers
47 views

Xcode 5 causing internet connectivity issues on Macbook Air

If this isn't an appropriate question for SO, let me know and I'll take it down. While working in Xcode on my MBA, I sometimes encounter a strange problem. It goes something like this: Code, ...
0
votes
2answers
52 views

How to open txt files created during ios application debug on ios devices

I am developing an iPad app with Xcode 4.6. In order to collect some critical information about the app, during the debug process (for real ios device) I put some data in a text file, and an example ...
1
vote
1answer
99 views

“failed to get to process -1”

i have this big problem with my iOS Developer (i guess). Sometimes (every 2 or 3 times) when i run my app on my iPhone 5S it stops and the error "failed to get to process -1" appears. After that my ...
0
votes
2answers
64 views

Debugging using the PO command

Why does this debugger command works: (lldb) **po indexPath** <NSIndexPath: 0x1c0711b0> {length = 2, path = 3 - 0} but this does not: (lldb) **po [indexPath section]** [no Objective-C ...
27
votes
3answers
2k views

EXC_BAD_ACCESS (code=1, address=0x0) when stepping in debugger

My application crashes each and every time I try to step over a call. Without debugger it works fine. Also, when I run the app in simulator it woks fine with or without debugger. Recently I ...
0
votes
1answer
31 views

Debugging - Capture The State Of An iOS App

My app has a bug, which I am unable to replicate when it is run when plugged into the computer. I see it three times a day and it is quite annoying. Is there any way to capture the state of the app ...
0
votes
0answers
59 views

XcodeColors not working in Xcode5 for iPhone

I downloaded the latest XcodeColors from https://github.com/robbiehanson/XcodeColors and run its demo for mac, everything is ok. but after run it for iPhone simulator, there's no color but text, like ...
0
votes
1answer
47 views

EXC_BAD_ACCESS pointing to function header

I'm getting an EXC_BAD_ACCESS, but XCode isn't pointing me to a line of code. Rather, it's pointing me to a function header in the .m file, that is: - ...
3
votes
2answers
92 views

xcode debugging - quickly step over assembly code back to my custom code

I'm still new to xcode. I have "show disassembly when debugging" UNCHECKED but I know that as I step through my own code that I will still regularly be thrown into assembly code when system methods ...
0
votes
1answer
77 views

Step into STL sources in Xcode 5

I've been using Xcode 5 for a while now and I can't figure out how to debug into the STL source headers. The option "Step Into" (F7) just skips over the statement I would like the debugger to step ...
1
vote
1answer
43 views

Displaying NSDecimal values in XCode debugger

During a debug session with XCode 5, how would I display the actual value of an NSDecimal var? I found this question but that doesn't work for me. Entering a summary description like {(int)[$VAR ...
1
vote
1answer
462 views

How to debug iOS crash due to memory pressure

I'm using ARC and the app crashes saying received memory warning. I'm testing the application directly on the device (iPhone 4 with iOS 7.0.2) and compiling with XCode 5 using iOS 6 SDK. I have used ...
0
votes
0answers
15 views

Xcode crashes when inspecting stack or a variable

For any project more complicated than "hello world", when I break in the debugger due to hitting a breakpoint or a crash, as soon as I click on a new stack frame or a variable Xcode itself crashes. ...
3
votes
0answers
62 views

How to debug a “second run” in iOS?

I have a bug happening on the second run and onward of an application. meaning I run it in Xcode, click stop, close the app, and open the app again. The problem is, I can't use the Xcode debugging ...
2
votes
1answer
3k views

How can I address an app that started earlier, but is “Terminated due to Memory Pressure” now?

I am working on an iOS app in Xcode. Earlier I got it to start and run, up to a limited level of functionality. Then there were compilation failures claiming untouched boilerplate generated code had ...
5
votes
2answers
1k views

Xcode 5 debugger no objective-c description available

In Xcode 4, when I use the debugger to print an NSArray count, it would show in the console like this: po [self.array count] 3 In Xcode 5, doing this gives me [no Objective-C description ...
1
vote
1answer
65 views

Debugging native binding library

I've built a static library from this Janrain source code and then created a binding library with Xamarin. An earlier version of the Janrain library worked just fine (eventually), but I needed to get ...
0
votes
3answers
457 views

Mountain Lion no working gdb debugger

I got a new Macbook Air and installed XCode 5 on it. To my surprise Apple does no longer ship gdb with the command line tools. As I am doing lots of c++ coding I am dependent on a good debugger. What ...
7
votes
1answer
530 views

XcodeColors not working in XCode 5

I tried to install XcodeColors in XCode 5. But unfortunately it isn't working with the old plugin I got from XCode 4.6. As next step, I checked the github website where i saw the following pull ...
1
vote
0answers
264 views

Xcode 5 attach to process debugging. Debug server quits unexpectedly

I have been using "Attach to process" feature from Xcode to attach debugger to running process . This used to work fine with Xcode 4. But with Xcode 5, debug server quits as soon app is put in ...
0
votes
1answer
55 views

OS X frequent crash. printer?

I usually don't use OS X because I run a linux partition. Been needing to access xcode so I've been using it again. It just shuts off all of a sudden and reboots. It seems like it does it more often ...
1
vote
0answers
39 views

How do I exclude stl files from debugging in Xcode?

For some reason Xcode sometimes steps into C++ stl files even when I've chosen to step over a method. This can become really tiresome and slow down the debugging process. Does anyone have advice on ...
0
votes
1answer
135 views

Crashlytics CLS_Log vs. NSLog for production apps

No really a specific question, but I was curious if anyone has ever used CLSLog() or CLSNSLog() provided by they Crashlytics SDK? http://www.crashlytics.com/blog/announcing-crashlytics-logs/ Up ...
1
vote
2answers
58 views

How to evaluate a statement in XCode debugger

So every other IDE I have ever used, if there is some statement in the code with a break point set, there is a way to evaluate that statement to see what it is returning, ie immediate windows in ...
0
votes
1answer
66 views

Debug Breakpoints - Display variable values in Log Message

When I use the Log Message as Action in a Breakpoint is it still possible to print current variable values to the log output ? When using a NSLog inline something like this is possible ... ...
0
votes
1answer
140 views

Debugging Maya Plugin with Xcode

I am trying to debug my Maya plugin that I build for Maya 2013 using Xcode 4.6.3 debugging features. I want to be able to set a breakpoint and trace through the plugin but I am not able to set Xcode ...
0
votes
1answer
105 views

Can I debug an iOS application over Bluetooth (or anything but USB?)

I left my USB cable at home for a iPad mini, and I want to use XCode with it right now. Is there any wireless way I can deploy and connect to the tablet without a physical USB cable?
-1
votes
1answer
40 views

Debugging singleton in Xcode

I can see the properties of a singleton in its own class (file), but I can't see them in other files in the debugger. Since singleton acts as a global variable, why I can't or how to see it on the ...
1
vote
1answer
66 views

iOS: how to debug “freshly launching” an app from a URL

When launching an app from a URL, there is a distinction between whether the URL is freshly launching an app, or if it's resuming an app that has been put into a suspended state. My question is, how ...
0
votes
1answer
28 views

How can I exactly know which object caused my crash?

I have this crash which happens randomly in my app. I have many objectAtIndex in my code, how can I know the name of the array which caused he crash? Is there a fast way to read the hexadecimal ...
0
votes
1answer
167 views

Why does this method without fail produce a “malloc_error_break” every run?

I have a method that I use to retrieve data from a plist that looks like this: The method itself is this: //'path' is of the form "beach.color.green" (for example) -(NSString *)elementWithPath: ...
1
vote
1answer
80 views

ADT Eclipse execute code during Debug like xCode

Can you execute code during debug in ADT Eclipse like "po" in xCode console?
0
votes
0answers
50 views

Xcode 4.5 debugging skips section of a function when stepping through code, even with breakpoints set (c++)

So I have a function here that allegedly reads values from a .cfg file and the file is set up correctly, but my values are not being reflected by changes I make to the file. So I debug. The problem is ...
0
votes
1answer
182 views

Xcode project won't display std::string in debugger anymore

I have an Xcode project that will not display C++ std::strings when I am debugging. It's incredibly frustrating because I am having to resort to print statements or outputting each character one at a ...
1
vote
1answer
83 views

How to Make sure iOS application stripped of debug symbols?

Can any one help me to understand in simple terms that what is debug symbols? When to use them. How do I make sure the my iOS application stripped of debug symbols. Some of other answer suggested ...
0
votes
0answers
76 views

Debbuging in Xcode: stopping several times at same breakpoint issue

I've developing an iOS app and I've found that, while debugging in Xcode, both by using a device and simulator, sometimes some breakpoints are reached more than once even if they're set in methods ...
1
vote
0answers
61 views

XCode 4 Debugger: Attach to process from command line

I would like to launch an application from the command line and immediately attach the graphical debugger in XCode 4 to it, without having to click in the Xcode menu Product->Attach To Progress. Is it ...
0
votes
2answers
33 views

See which method is being called – xcode

I have an imagepickercontroller and an imageview. When the orientation changes the imageview changes position. When the imagepickercontroller is loaded from landscape mode, the orientation changes to ...
1
vote
0answers
58 views

Debugging Seemingly Random Exceptions in Xcode

I have been at this for days and asked this question a few days ago. I thought it's probably better to rephrase the question more clearly. I have a series of UICollectionViewControllers inside a ...
0
votes
0answers
47 views

Forcing screen refresh from Debugger

While stepping through my code with the debugger, I would like to arbitrarily refresh the simulator's screen at any particular breakpoint in the code. From the debugger command line I have tried: ...

15 30 50 per page