« A cursory glance at other free 3D Modellers | Main | -[CFDictionary retain] bug »

Limiting Stacksize for recursion debugging

This can be handy in recursion crashers, where Xcode takes half an hour to resolve symbols.
   struct rlimit rlim;
   getrlimit(RLIMIT_STACK, &rlim);
   rlim.rlim_cur = 0x8000;
   setrlimit(RLIMIT_STACK, &rlim);

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on September 21, 2008 4:55 PM.

The previous post in this blog was A cursory glance at other free 3D Modellers.

The next post in this blog is -[CFDictionary retain] bug.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34