• 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 debugger locking up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode debugger locking up


  • Subject: Re: XCode debugger locking up
  • From: Nick Nallick <email@hidden>
  • Date: Wed, 2 Mar 2005 11:44:34 -0700

I've been having this problem for some time, but the last couple days it's become particularly annoying.

Sometimes (usually just when I'm about to find whatever problem I'm looking for), when stopping at a breakpoint, stepping, moving around in the stack frame, or doing some other debugger operation that would cause the display to update, XCode hangs with a spinning rainbow cursor. During the hang, XCode uses 100% CPU for an inordinate amount of time (the most recent case was around 8 minutes).

Just before XCode hangs, the status display in the debug window changes to:

"Timed out fetching variable data. Variable display may be inaccurate."

and eventually (after several minutes) changes to:

"Error from Debugger: Exception Name: NSInvalidArgumentException, reason:*** -[NSCFArray addObject:]: attempt to insert nil"

I've recently become involved with a large Xcode based Carbon project in the debugging and performance tuning stage. The executable file is about 40MB but I'm not sure if that includes debugging symbols in Xcode or not. I evaluated Xcode 1.0 and decided it wasn't quite ready for prime time so I haven't used Xcode for anything large before. I looked at this as my chance to spend some quality time with Xcode 1.5 and perhaps 2.0.


I've been trying to use the 1.5 debugger on 10.3.8 to learn the code by setting break points, crawling the stack and stepping through the code. This has been extremely painful. I've been having similar problems to those detailed above almost constantly. The only real difference is that mine only spends a minute or two with the spinning cursor, but when it comes back about the only thing I can do is terminate the app I'm debugging. For me the debugger is virtually useless.

Perhaps the problem is related to the lack of available memory. I'm running a PM 2.5 DP with 1GB RAM. I was down to about 1.35 GB free on my boot partition. After getting my free disk space up to about 4 GB the problem has lessened somewhat but not very much. Now I can single step three or four lines after a breakpoint before freezing.

Does anyone have suggestions about the system memory requirements for debugging large projects?

I hate to rant, but this is my first attempt to use Xcode for a substantial project and I have to say I'm disappointed. In general it still seems to be rather lacking in polish (e.g., resizing panes in the project find window). Is it just me or is this still beta quality software? I'd really love to see world class tools for Macintosh development but that's not my experience with Xcode yet.

Nick Nallick

_______________________________________________
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 debugger locking up
      • From: Chris Friesen <email@hidden>
  • Prev by Date: Re: How to pass additional parameters to make in Xcode legacy project ?
  • Next by Date: Re: How to pass additional parameters to make in Xcode legacy project ?
  • Previous by thread: Re: XCode debugger locking up
  • Next by thread: Re: XCode debugger locking up
  • Index(es):
    • Date
    • Thread