• 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 debugging problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode debugging problems


  • Subject: Re: XCode debugging problems
  • From: Jose Commins <email@hidden>
  • Date: Tue, 2 Dec 2003 14:48:18 +0000

This may be a joint compiler/debugger problem, as I have similar random crashes when debugging an app that works perfectly well without the debugger (I've had to disassemble it using another app to see if it was fine).
The compiler doesn't seem to be picking up some errors which it used to do: 'GetControlValue' doesn't return an error on compilation, despite having to be 'GetControl32BitValue', resulting in duff code.
Moreover, debuggers usualy insert breakpoints by replacing an instruction with a PowerPC exception - from looking at these posts it could be that it is inserting misplaced exceptions on possibly stale code, which could be an explanation for spurious crashes.



Regards, Jose.

On 2 Dec 2003, at 06:01, Nick Zitzmann wrote:

On Dec 1, 2003, at 11:17 AM, Ben Guthro wrote:

I converted the project from ProjectBuilder to XCode upon opening it
for
the first time.
After a successful build, my app will run from the finder, but not with
the "Build & Debug" menu selection, nor "Debug". An error message is
never displayed - It just quite simply does not load.

I've had a similar problem - I've got an application that, for some odd reason, when run in the debugger, does not complete initialization. When I pause execution, it appears that it's setting up a toolbar that has a pull-down menu in it, and the process of initializing that menu, it tries to lock an NSConditionLock deep within AppKit that for some reason never gets unlocked. This does not happen when it's launched from the Finder... Maybe this is the same problem you're experiencing.

I've found that sometimes stopping and restarting debugging repeatedly
when the problem occurs makes it launch eventually, as it seems to be
completely random. <8*(

Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page: http://seiryu.home.comcast.net/
S/MIME signature available upon request

"That's a funny thing to promise. Well, you can't never let anything
happen to him [Nemo]; then, nothing would ever happen to him." - Dory,
from the movie "Finding Nemo"


--
The most important part of a microbiologist's job is not letting the little things get to them.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: XCode debugging problems
      • From: Jim Ingham <email@hidden>
  • Prev by Date: Re: about the deployment of Framework
  • Next by Date: SIGBUS at certain breakpoints in 7K109
  • Previous by thread: Re: XCode debugging problems
  • Next by thread: Re: XCode debugging problems
  • Index(es):
    • Date
    • Thread