• 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 2.1 debugger hanging at breakpoint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.1 debugger hanging at breakpoint


  • Subject: Re: Xcode 2.1 debugger hanging at breakpoint
  • From: Jim Ingham <email@hidden>
  • Date: Fri, 1 Jul 2005 11:03:56 -0700

I can't make a guess at what's going on without more data. But if you can file a Radar on this with the following, I'll be glad to take a look:

There are two pieces of information that will help right off.

The first is the transcript of the communication between Xcode & gdb. To get that, do:

1) Quit Xcode.
2) In Terminal, say:

$ defaults write com.apple.Xcode PBXGDBDebuggerLogToFile YES
$ defaults write com.apple.Xcode PBXGDBDebuggerLogFileName /tmp/ IncludeInBug.log


3) Restart Xcode, and do whatever you need to to make it fail.
4) Attach /tmp/IncludeInBug.log to the Radar.

The second is to sample gdb when it is hung. You can start up / Developer/Applications/Performance Tools/Sample.app, and the attach to the gdb process, and click the "start" button to sample it for a little bit. Then save the sample and attach that to the bug.

Thanks,

Jim

On Jul 1, 2005, at 8:35 AM, Stuart A. Malone wrote:


Hi folks,

I'm relatively new to Xcode. I've recently ported our CodeWarrior project to Xcode 2.1, and it's compiling and running fine, but I'm having trouble using the debugger.

When I set a breakpoint and debug the program, the application launches fine and drops into the debugger when I hit the breakpoint. Xcode displays the stack, a few local variables, and shows me the source code at the breakpoint. However, the Activity Monitor immediately shows gdb-powerpc-appl taking up all the available CPU time, and the debugger in Xcode is unresponsive. I can hit buttons to single-step, display variables, etc. but nothing actually happens. I can click the Terminate button to kill the application, and Xcode appears to be fine after that, but I can't actually use the debugger.

Any ideas as to what's going wrong, or even how I might go about tracking down the cause of the problem?

Thanks,

--Stuart A. Malone
  Llamagraphics, Inc.
  Makers of Life Balance personal coaching software
  http://www.llamagraphics.com/




_______________________________________________ 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
  • Follow-Ups:
    • Re: Xcode 2.1 debugger hanging at breakpoint
      • From: "Stuart A. Malone" <email@hidden>
References: 
 >Xcode 2.1 debugger hanging at breakpoint (From: "Stuart A. Malone" <email@hidden>)

  • Prev by Date: Re: problems linking with dylib
  • Next by Date: RE: Program crashes when executed normally, but runs w/o trouble in the Debugger
  • Previous by thread: Xcode 2.1 debugger hanging at breakpoint
  • Next by thread: Re: Xcode 2.1 debugger hanging at breakpoint
  • Index(es):
    • Date
    • Thread