Re: Debugging question
Re: Debugging question
- Subject: Re: Debugging question
- From: Michael <email@hidden>
- Date: Sat, 1 Apr 2006 11:28:29 -0800
tks Sean,
That works just fine.
On Apr 1, 2006, at 9:23 AM, Sean Murphy wrote:
On Apr 1, 2006, at 9:36 AM, Michael wrote:
Code includes this statement:
"while ( (chr = getchar()) != EOF)"
I would like to have it run and be able to input some data from
the Std input and watch what happens.
Sorry Michael, I forgot to mention that you can't input anything
via stdinput through the debugger console. You must open up the
"Standard I/O Log" which is found under the "Debug" menu.
Now, if you place a breakpoint inside your while loop you can step
into the code like you wanted. The only problem now is that calls
to getchar() and printf() don't seem to show output in the I/O Log
while the program is paused. You can still input your character
there, however, and monitor variables in the debugger, only thing
is their output will not be displayed in the log. There is
probably a better way, so maybe someone else can help us with that..
Hope this gets you on the right track..
-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