• 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
limiting scrollback in XCode/GDB?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

limiting scrollback in XCode/GDB?


  • Subject: limiting scrollback in XCode/GDB?
  • From: Army Research Lab <email@hidden>
  • Date: Thu, 13 Dec 2007 10:16:52 -0500
  • Thread-topic: limiting scrollback in XCode/GDB?

I have a long running, multi-threaded (pthreads, not NSThreads) C99 command
line application that I'm testing via the tried and true method of sticking
printf() statements all over the place, so that if/when a thread crashes,
dumps something strange, etc. I have an idea as to which thread, where, and
more importantly, why.  I only need to keep a limited number of lines of
scrollback in the GDB output window to know why a thread crashed, maybe 200
lines.  Unfortunately, Xcode wants to keep everything that was ever
outputted.  This is a problem because it doesn't take too long before I fill
up the buffer, and then Xcode's GDB window refuses to accept any more input.
Is there a way of telling Xcode to limit the scrollback?  Note that I know I
can clear the logs manually, but I want to be able to run this app
overnight, just to make sure I've stomped out all the bugs.  The GDB log
window fills up completely in about 30-60 seconds...

I'm using Xcode 2.5 under 10.4.11.

Thanks,
Cem Karan

 _______________________________________________
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: limiting scrollback in XCode/GDB?
      • From: Lyndsey Ferguson <email@hidden>
  • Prev by Date: Loading function from a bundle without loading all globals.
  • Next by Date: Re: 64 bit
  • Previous by thread: Re: Loading function from a bundle without loading all globals.
  • Next by thread: Re: limiting scrollback in XCode/GDB?
  • Index(es):
    • Date
    • Thread