• 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.1 breakpoints not working for command line apps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 2.1 breakpoints not working for command line apps?


  • Subject: Re: XCode 2.1 breakpoints not working for command line apps?
  • From: João Varela <email@hidden>
  • Date: Sat, 9 Jul 2005 14:49:25 +0100


On 2005/07/08, at 16:47, email@hidden wrote:

From: Arshad Tayyeb <email@hidden>

Subject: Re: XCode 2.1 breakpoints not working for command line apps? 

To: Ladd Van Tol <email@hidden>

Cc: email@hidden

Message-ID: <email@hidden">email@hidden>

Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


Turning off the "Load symbols lazily" option worked for me.   It's  

not optimal, but at least it's letting me use the debugger now.  Thanks!

-Arshad


On Jul 7, 2005, at 11:17 PM, Ladd Van Tol wrote:



I had a similar problem setting breakpoints in C++ code that I was  

only able to resolve by turning off the "Load symbols lazily"  

option in the Xcode debugging prefs.


I am uncertain why this worked, and Xcode 2.1 debugging continues  

to be slow and flaky in many other regards.


- Ladd



Today I also ran into problems with debugging my C++ tool (which had never happened before) because GDB would hang after some time if I tried to step in or step over. The hang would not happen if I just hit continue and the tool would exit normally. I then tried to find if there was a reproducible case. I activated two breakpoints in different source files and it did hang in the same place (3 times after executing a while loop). I went to the target of my C++ tool in XCode and deactivated the zero link option. Then I rebuilt my tool and the hang did not happen again. I then cleaned up my target, activated zero link, and rebuilt it and tried to debug it so that I could reproduce the hang and file a bug. However, this time the hang did not happen even with zero link activated.

So, I have to agree that debugging with XCode GUI is sometimes flaky. Sometimes it works, sometimes it doesn't, which is not very helpful for reporting a reproducible bug. I'll keep a watchful eye if I can find a reproducible situation and file a bug on this.

- João
 _______________________________________________
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

  • Follow-Ups:
    • Re: XCode 2.1 breakpoints not working for command line apps?
      • From: Jim Ingham <email@hidden>
  • Prev by Date: Traceback table question
  • Next by Date: Re: [OT] What kind of data is is returned by 'new' ?
  • Previous by thread: Re: XCode 2.1 breakpoints not working for command line apps?
  • Next by thread: Re: XCode 2.1 breakpoints not working for command line apps?
  • Index(es):
    • Date
    • Thread