Re: Xcode loses the connection
Re: Xcode loses the connection
- Subject: Re: Xcode loses the connection
- From: Glen Simmons <email@hidden>
- Date: Wed, 21 Mar 2007 12:44:40 -0500
On Mar 21, 2007, at 12:19 PM, Rush Manbert wrote:
Glen Simmons wrote:
I'm having an intermittent issue (but happening more and more) with
Xcode losing connection to the app being debugged. What I mean is, it
hits a breakpoint and, while the app freezes, the Xcode UI never
shows
it. Another way it happens - while stepping through, I hit "Step
Over"
and nothing happens. At that point, I have to kill the app and start
over, which wastes time and generally annoys me. I've tried
clean-n-build and killing the user files in the project package. Any
other suggestions?
I had a similar experience just a few days ago. I tried to step
over an instruction and the debugger just froze. Other times it
appeared to crash my machine.
HOWEVER, once I took my meds and calmed down and investigated more
thoroughly, I discovered that the instruction I stepped over caused
a destructor to be called, which tried to take apart and destroy a
deep, complicated object. Because of a recent set of changes I had
made, I had followed a path where that object had not been properly
initialized, so contained garbage. Imagine my chagrin. It was bad
enough that the destructor just ran off into the weeds in some sort
of infinite loop, and it appears that when I ran it under the
debugger, the debugger just took all of the CPU, which is why I
thought it crashed the machine.
Anyway, is it possible that you're doing something similar?
Would that it were so. I haven't noticed a pattern. It happens in
multiple places, stepping over the most innocuous bits of code. Just
a few minutes ago I restarted my Mac. Maybe that'll help.
Thanks,
Glen
_______________________________________________
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