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

Re: Xcode 2.0 debugger problem


  • Subject: Re: Xcode 2.0 debugger problem
  • From: Davide M <email@hidden>
  • Date: Wed, 11 May 2005 07:36:41 +0200


After successfully using Xcode 1.5 to build c++ projects for a while (using Qt libraries from trolltech) I upgraded to Tiger and Xcode 2.0.

Now the debugger behaves very strangely: when stopped at a breakpoint the "Step over" does not work as expected, most times it does the same as the "Continue" button, but sometimes it jumps to a random place a few lines down in the source.

I tried recreating the whole project from scratch, and doing a full clean/rebuild, but nothing changed.

Do ypu perchance have optimization on?  Optimization drastically changes the order in which the compiler generates instructions, and the correlation to the order of your source lines is sometimes difficult to trace.

No, optimization is of (level: None), debug symbols are set to Normal.

Well, I am using gcc 3.3 instead of the default 4.0, since current Qt lib and other static libs in the project were built with that compiler.

Davide

 _______________________________________________
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

References: 
 >Xcode 2.0 debugger problem (From: Davide M <email@hidden>)
 >Re: Xcode 2.0 debugger problem (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Linking against a non-Framework
  • Next by Date: Re: FileMerge substitution
  • Previous by thread: Re: Xcode 2.0 debugger problem
  • Next by thread: re: Xcode 2.0 debugger problem
  • Index(es):
    • Date
    • Thread