limiting scrollback in XCode/GDB?
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