• 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: [Solved-kinda]: Is it me or XCode 1.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Solved-kinda]: Is it me or XCode 1.2?


  • Subject: Re: [Solved-kinda]: Is it me or XCode 1.2?
  • From: Phil Curry <email@hidden>
  • Date: Mon, 26 Apr 2004 14:38:29 -0700

Nope... I'm positive, because I recall looking thru optimization settings as a possible reason the debugger wasn't walking thru the code in the order I expected. In fact I just changed the variable name back to node from n and the same problem returns.

An interesting observation is that when I get to the line:
   if ( [n numChildren] > 0) {
the frame stack in the debugger, but if I change the n to node:
   if ( [node numChildren] > 0) {
the frame stack does not appear in the debugger!

Curious.
-Phil

On Apr 26, 2004, at 1:13 PM, Jim Ingham wrote:


Is there any chance that when you rebuilt you also touched some build option, particularly optimization level? Just changing the name of a variable shouldn't make any difference, but increasing the optimization level can both uncover subtle latent bugs in your code, and confuse the debugger mightly...


Jim

On Apr 26, 2004, at 11:57 AM, Phil Curry wrote:

Well I changed the name in setXforNode: from node to n
Now it steps thru with the debugger. Go figure! These are the things that scare me1


-Phil

No... I don't think so as 'tNode' has a valid set of values at the line
below marked by '<<<<<<'.
Again, if I run the code it runs, if I try to step thru it with the
debugger, I get the error.

Ahh, but you recursively execute setXForNode, and are your sure that everything in the node is set correctly?

--
Glenn L. Austin <><
Computer Wizard and Race Car Driver
<email@hidden>
<http://www.austin-home.com/glenn/>
_______________________________________________
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.



--
Jim Ingham                                   email@hidden
Developer Tools
Apple Computer
_______________________________________________
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: [Solved-kinda]: Is it me or XCode 1.2?
      • From: Jim Ingham <email@hidden>
References: 
 >[Solved-kinda]: Is it me or XCode 1.2? (From: Phil Curry <email@hidden>)
 >Re: [Solved-kinda]: Is it me or XCode 1.2? (From: Jim Ingham <email@hidden>)

  • Prev by Date: Erratic autocomplete behavior
  • Next by Date: Re: # flag used with printf warning
  • Previous by thread: Re: [Solved-kinda]: Is it me or XCode 1.2?
  • Next by thread: Re: [Solved-kinda]: Is it me or XCode 1.2?
  • Index(es):
    • Date
    • Thread