Re: Debugging question
Re: Debugging question
- Subject: Re: Debugging question
- From: Michael <email@hidden>
- Date: Sat, 1 Apr 2006 06:05:08 -0800
Sean,
Will this work if user input is needed?
tks
Michael.
On Mar 31, 2006, at 11:34 PM, Sean Murphy wrote:
On Mar 31, 2006, at 11:34 PM, Sean Murphy wrote:
On Apr 1, 2006, at 2:22 AM, Michael wrote:
I would like to be able to step through code in a "Standard tool"
project, in which the user inputs some data ( Word count for
example). In real basic, which I am familiar with, one simply sets
a break point and then once in the debugger, steps through the
code. I have not had much luck in Xcode although I am certain this
must be possible. I am not asking for a step-by-step approach, but
an acknowledgment that this is doable and a brief outline of how
to achieve this.
Thank you in advance.
Hi Michael,
Just click in the margin of your code's first line, and xcode will
create a breakpoint there. Next, instead of build-and-run, simply
choose build-and-debug. This will open gdb and automatically stop
at line 1 (your breakpoint). Next, choose either Step-Over or Step-
Into and crawl over your code line by line.
-Sean
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden