Help! program runs differently under debug than not
Help! program runs differently under debug than not
- Subject: Help! program runs differently under debug than not
- From: Rick Mann <email@hidden>
- Date: Wed, 21 Jun 2006 15:15:44 -0700
Yes, I'm familiar with how this can happen. Thing is, before a recent
forced restart, it was behaving normally. If I debug my app, with no
breakpoints set, it gets a broken pipe error. If I just run it, it
runs correctly.
I don't even know where to begin, to determine what setting might be
different. I find it incessantly confusing that XCode changes its
state based on if I'm running or debugging (I'm very used to CW's
notion that you're either running or debugging, something you set once).
Anyway, it's really puzzling, and since settings can be spread out in
so many places, it's hard to compare the debug ones to the non-debug
ones.
I'll try to figure out which pipe, exactly, is breaking. This app (I
didn't write it) forks a child and then uses a pipe to communicate
with it. The child sits in a loop passing bytes on to a USB device
(and back).
Once I solve this problem, the really hard one begins: trying to
debug the child (gdb doesn't handle fork very well at all). I really
need to be able to step through the child, and I don't know how I'm
going to accomplish that. sigh
--
Rick
_______________________________________________
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