Tagged Questions
0
votes
0answers
35 views
Specifying symbols/source path in XCode 4 for Debugging
I've a .app package that I want to debug which does not contain symbols. However, I've a separate folder which contains all the symbols of binaries in the app. And in another folder, I have all the ...
0
votes
1answer
46 views
Xcode 4: why “Continue to current line” is grayed out?
When I am debugging my program, I often want to make it run from where it is paused to a specific line.
In Xcode 3, I was able to do that by clicking on the button appearing next to the line number ...
0
votes
1answer
52 views
Cocoa program can't be stopped
I'm trying to write an OS X app that uses a serial port. I found an example (cocoa) and got it running in Xcode 4. On the first run, it opens the port and I'm able to exchange data with the hardware.
...
0
votes
0answers
92 views
XCode Breakpoint With “Log Message” Action Logging Twice
Was previously running 4.2 and just upgraded to 4.5.
Generally, instead of NSLog or printf messages, I use breakpoints when debugging, and after I upgraded I started thinking that all custom methods ...
2
votes
0answers
34 views
How do I set the default breakpoint scope in XCode 4.x?
Breakpoints in XCode 4 can be scoped by project, workspace, or user (which are shared generally between all open projects). I'm often debugging between multiple projects, so "User" scoped breakpoints ...
1
vote
1answer
93 views
How do I set a breakpoint in an external source file in XCode 4?
I want to put a breakpoint in a file that's part of a library used in my application. If I simply open the .cpp file in XCode, it gets its own window, and breakpoints are never triggered.
But when ...
1
vote
1answer
244 views
No symbols/source for external library in Xcode 4
My application is not seeing source code for a library:
If I "Jump to definition" on a library method, XCode takes me to the .h file but says there is no .cpp counterpart
When debugging, I see no ...
7
votes
2answers
520 views
Debugger steps deeper when trying to step out of C++11 std lib
I'm using (Apple) LLVM 4.1 within Xcode 4.5 (but I saw the same thing in an earlier beta).
I have it targeting C++11 and am using libc++ (the new, C++11 enabled, LLVM version of the std library).
In ...
0
votes
1answer
68 views
How do I tell what exception Xcode's Exception Breakpoint is breaking on?
I've got the Exception Breakpoint added in Xcode 4, and it's breaking on a line where some kind of exception is being thrown. But it's not logging any error information. How do I tell what exception ...
2
votes
0answers
226 views
Xcode and Instruments tracking memory usage
My app on iOS simulator is using way too much memory. It's probably that memory is leaking. It's a ARC-enabled project with incorporation of plain C code. I tried it with some small project which I ...
-1
votes
1answer
297 views
Xcode #ifdef DEBUG is not working properly
I have add following line to the code.
#ifdef DEBUG
//DEBUG only code
#endif
And I have go to the project->info tab in the xcode and set 'command-line builds use' to debug and run the code ...
0
votes
2answers
194 views
xcode 4.3.3 gdb or lldb debugger jumps
We have a strange error with our debuggers when running the debugger on a phone in release mode. Whether we are using gdb or lldb with xcode 4.3.3, the code will land on breakpoints even though the ...
0
votes
0answers
55 views
xcode 4.3 with iOS5.1 pauses about 10secs when debug starts - simulator starts immediately
I installed XCode 4.3 and debug my app on simulator and device.
After this text:
> GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Mon Oct 17 16:52:01
> UTC 2011) Copyright 2004 Free ...
1
vote
0answers
117 views
Xcode 4 - How to enter input into Debugger
I am running Python in Xcode 4, and I need to enter some input into the Debugger. How do I do that?
0
votes
2answers
468 views
Expression in Xcode 4.3.2 Debug area not evaluated
I'm doing something wrong. I have added an expression, I can see the expression with the "E" symbol in the Debug area, but the expression is not being evaluated, its value is not displayed there (it ...