• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode loses the connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode loses the connection


  • Subject: Re: Xcode loses the connection
  • From: Jim Ingham <email@hidden>
  • Date: Wed, 21 Mar 2007 08:27:10 -0700

When you get into this situation, please file a bug. The information that will help us is:

1) A sample (using the "sample" command-line tool or Sampler.app) of both the gdb process (it will be either gdb-powerpc-apple-darwin or gdb-i386-apple-darwin depending on the architecture of your machine) and your app.
2) The Xcode-gdb log which you can generate by setting the default a la:


defaults write com.apple.Xcode PBXGDBDebuggerLog YES

quitting & restarting Xcode. Then the log will be in /var/tmp/ folders.<UID>/TemporaryItems/XCGDB-<AppName>-<PID>.log

Thanks,

Jim

On Mar 21, 2007, at 3:45 AM, Thomas Engelmeier wrote:


Am 21.03.2007 um 05:21 schrieb Steve Checkoway:

On Mar 20, 2007, at 7:08 PM, 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 have similar issues when trying to debug c++ and gdb has stepped into the ctor for basic_string (for example). I can keep pressing step over but eventually it just stops doing anything.

Another way to reproduce it is an application that quits before completely starting up.


The ctor stepping behavior might be related to an older issue that there can be multiple (automatically by gcc generated) CTORs and gdb is chronically bad at using all of their signatures .

Regards,
   Tom_E


_______________________________________________ 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

_______________________________________________ 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
References: 
 >Xcode loses the connection (From: "Glen Simmons" <email@hidden>)
 >Re: Xcode loses the connection (From: Steve Checkoway <email@hidden>)
 >Re: Xcode loses the connection (From: Thomas Engelmeier <email@hidden>)

  • Prev by Date: multi-key bindings in Xcode?
  • Next by Date: Re: XCode, gdb and "Timed out fetching data"
  • Previous by thread: Re: Xcode loses the connection
  • Next by thread: Re: Xcode loses the connection
  • Index(es):
    • Date
    • Thread