User Name
Password
AppleNova Forums » Programmer's Nook »

Locating Errors in Xcode 2.2


Register Members List Calendar Search FAQ Posting Guidelines
Locating Errors in Xcode 2.2
Thread Tools
kartel9
New Member
 
Join Date: Nov 2005
 
2005-11-24, 23:55

I used to use Xcode 2.0, but recently upgraded to Xcode 2.2. Before (with 2.0) when i was writing a program (in Java 5), if there was an error in my code a red "x" would show up in the left margin (during compiling) on the line in which there was an error. It no longer does that anymore. All it does it is state how many errors are in the code at the bottom of the screen, but it doesnt identify which lines the errors are on. Can someone tell me how to fix this?

Thank you.
  quote
Mr Beardsley
Member
 
Join Date: Jul 2004
Location: Colorado Springs
Send a message via AIM to Mr Beardsley  
2005-11-26, 09:49

I've noticed the same thing. The way I've found to locate errors is in the build results window. Here are the settings that I use.

In preferences go to the building section. Under the Build Results Window I've selected Open during builds: Always And Close after builds: On Success.

If you have errors when you build they will show up in the build results window. You can click on them and it will highlight the line that has the error in the text area down below.

Hope that helps.

"Slow vehicle speeds with frequent stops would signal traffic congestion, for instance."

uh... it could also signal that my Mom is at the wheel...
  quote
pmazer
Member
 
Join Date: May 2005
Location: Atlanta, GA
Send a message via AIM to pmazer  
2005-11-26, 14:07

My Xcode 2.2 still shows the red X's.. weird. I don't know how to fix it though, it just came this way.
  quote
kartel9
New Member
 
Join Date: Nov 2005
 
2005-11-26, 16:25

What if i try uninstalling Xcode by opening a Terminal window and typeing "$ sudo perl /Developer/Tools/uninstall-devtools.pl" and then re-installing?
  quote
pmazer
Member
 
Join Date: May 2005
Location: Atlanta, GA
Send a message via AIM to pmazer  
2005-11-26, 18:25

It couldn't hurt. I think the only thing you would have to loose is time, but I haven't done it.
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
Xcode 2.2 is out... scratt Programmer's Nook 8 2005-11-18 06:14
Xcode importing.. Good references.. scratt Programmer's Nook 0 2005-11-18 03:07
Creating a standalone exacutable with Xcode.. scratt Programmer's Nook 1 2005-11-15 22:17
Xcode - No such file or directory problem... scratt Programmer's Nook 14 2005-11-10 23:41
What's New in Apple Remote Desktop 2.2 marcstreeter Speculation and Rumors 8 2005-04-26 13:55


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 04:25.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2024, AppleNova