works fine in GDB but that's it
works fine in GDB but that's it
- Subject: works fine in GDB but that's it
- From: Aaron Tuller <email@hidden>
- Date: Fri, 15 Mar 2002 00:43:00 -0800
So i have a very simple command line tool that uses OmniNetworking to
do some very simple HTTP things and when I step through my code in
Project Builder in debug mode, it works great. However when i just
run the tool from within Project Builder or from the command line
nothing happens. For example I have this:
while ([socket isReadable])
{
t2 = [socket readString];
if (t2 != nil)
{
[theResponse appendString:t2];
}
}
NSLog(theResponse);
when i step through it, not modifying anything, the NSLog shows what
i expect, when I just run it, I get a blank NSLog entry. What could
be the problem here? I did an NSLog of the socket right before i read
from it and it shows it as connected but I can't try debugging it in
the debugger cause then it just works.
Thanks for the help.
-aaron
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.