• 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: debugging in 2.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging in 2.3


  • Subject: Re: debugging in 2.3
  • From: Jonas Maebe <email@hidden>
  • Date: Tue, 13 Jun 2006 16:48:06 +0200


On 13 jun 2006, at 16:41, Wesley Smith wrote:

t loads and runs much faster than under 2.2.
However, when the executable crashes, I don't see the crash point as
fast as I used to.  In fact, I get a new mesage "Loading stack
frames", and it takes forever to load.  Right now, it's loading 173954
stack frames.  Is there a way to speed up this process?  This is
excruciating.

Your program probably crashed because of a stack overflow due to a non-terminating recursion in your program, and gdb is now loading all the stack frames on the stack (and a *lot* of stack frames fit in the default stack size of 8MB). This has probably little to do with the new debugger or debug information, unless there is a bug in gdb which makes it not recognise some particular kind of stack corruption you have in your program.


Usually, the stack of a program doesn't become deeper than 50 frames or so (and that's already a quite deeply nested stack).


Jonas _______________________________________________ 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: 
 >debugging in 2.3 (From: "Wesley Smith" <email@hidden>)

  • Prev by Date: debugging in 2.3
  • Next by Date: Re: debugging in 2.3
  • Previous by thread: debugging in 2.3
  • Next by thread: Re: debugging in 2.3
  • Index(es):
    • Date
    • Thread