Re: Stack overflow detection/Stack use over time
Re: Stack overflow detection/Stack use over time
- Subject: Re: Stack overflow detection/Stack use over time
- From: "Paul Sanders" <email@hidden>
- Date: Thu, 1 Apr 2010 15:09:28 +0100
On 1 Apr 2010, at 8:52 AM, Guillaume Billard wrote:
> I don't know how these things work behind the scenes, but is
> there a simple way of diagnosing a stack overflow?
You could also try writing something like this to see if the
effect it creates in GDB mimics what you are seeing in your app:
void black_hole (int depth)
{
black_hole (depth + 1);
}
Paul Sanders.
_______________________________________________
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