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

Disappointed with XCode debugging


  • Subject: Disappointed with XCode debugging
  • From: Ricky Sharp <email@hidden>
  • Date: Sat, 17 Apr 2004 21:39:46 -0500

I must say that I'm very disappointed with XCode. While I did manage to migrate my CFM--based app from CodeWarrior and got it to compile and link, it does nothing but crash.

Then, when using the debugger, I can't seem to display values of class data. But what I found even worse was that the Value column completely lies about values.

For example:

#define kNumberOfTechnologies	10

SInt16	numberOfTechnologies = Count1Resources ('tech');
FailIfTrue (numberOfTechnologies != kNumberOfTechnologies);

for (int i = 0; i < numberOfTechnologies; ++i)
	{
	...
	}

The value I see for numberOfTechnologies is always 0. But I can step through this function and watch the loop iterate 10 times. Furthermore, if it really was 0, FailIfTrue would have thrown an exception.

This is a debug build using the development build style. I've verified that all debug symbols are being generated and that all optimizations are turned off. Also double-checked if I had any #pragmas that aren't support by XCode, but found none.

The code I've been compiling is really straightforward. I just don't understand how XCode is giving me this much grief.

FYI: I've also found that having ResEdit open and viewing a resource file that is included in your project can be a very bad thing. Doing a clean or a build will completely hang XCode and you must do a force-quit. After editing the resource file, you have to close it.

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Founder & President
Instant Interactive(tm)   http://www.instantinteractive.com
_______________________________________________
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: Disappointed with XCode debugging (Solved)
      • From: Ricky Sharp <email@hidden>
    • Re: Disappointed with XCode debugging
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: Undefined symbols
  • Next by Date: Re: Disappointed with XCode debugging
  • Previous by thread: Re: Customizing xcode - Modifying copyright and adding files automatically
  • Next by thread: Re: Disappointed with XCode debugging
  • Index(es):
    • Date
    • Thread