PDA

View Full Version : problems with xcode debugger




blue-lion
Nov 24, 2010, 04:34 PM
hello, i've just started programming in objective c and I'm having problems with the debugger. in xcode Even when debugging a simple program the debugger jumps to the end of the code without waiting for me to step through the code. I'm sure it's only a setting somewhere (which look ok to me??), i just don't see it. can anybody help?



robbieduncan
Nov 24, 2010, 04:36 PM
Did you set a breakpoint? Did you read the Debugging Guide (http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/XcodeDebugging/000-Introduction/Introduction.html%23//apple_ref/doc/uid/TP40007057-CH1-SW1)?

blue-lion
Nov 24, 2010, 05:32 PM
i have had a quick look through the guide.
So.. do i have to set a breakpoint somewhere in the code?. On other debuggers i just stepped into the code and then just stepped through it..

The 'step over' option is 'grayed out ' on the debugger . Is this because it's finished debugging and already gone through the code without pausing anywhere?

robbieduncan
Nov 24, 2010, 05:39 PM
Don't have "a quick look through". Read it. It will tell you the answers.