• 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: Debugger confused about line numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugger confused about line numbers


  • Subject: Re: Debugger confused about line numbers
  • From: Chris Espinosa <email@hidden>
  • Date: Sat, 19 Mar 2005 22:52:24 -0800

On Mar 18, 2005, at 6:25 PM, Larry Campbell wrote:

I have a bunch of projects, some large, and mostly the XCode debugger works as desired. However, in just a couple of my source files, the debugger gets extremely confused about line numbers. This manifests itself on one of two ways:


1. Setting a breakpoint anywhere in a function, the debugger breaks at the beginning of the function; clicking either the Step Over button or the Step Into button acts exactly as though I'd clicked Continue


2. Sometimes you can step OK, but you break many lines  (sometimes dozens) above where you set the breakpoint.


I've verified that the project style is to generate debug symbols and no optimization (-O0); I've done a Clean All; I've trashed the build directory; I've trashed the <user>.mode1 file. Nothing helps. For these source files, I've just resigned myself to debugging with lots of NSLog calls. Yuck!


For what it's worth, this is all Objective-C. No C++, no Java, no Objective-C++, not even much straight C. The files in question are .m files.


Anyone else run into this? Anyone at Apple able to offer a glimmer of hope?


Do the files in question have block comments containing more than 128 characters?

Chris
 _______________________________________________
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: 
 >Debugger confused about line numbers (From: Larry Campbell <email@hidden>)

  • Prev by Date: Slightly OT: Resource for Xcode Devs
  • Next by Date: Re: Browsing C functions in X-Code?
  • Previous by thread: Re: Debugger confused about line numbers
  • Next by thread: Re: Debugger confused about line numbers
  • Index(es):
    • Date
    • Thread