Hello, Is there a way, in C, to find how deep my current protection stack is(apart from keeping a count). I know the default nested size is 50,000 and because of some coding error i think i'm reaching it. Is there a way to find out the current depth reached? Thank you Saptarshi
On Sep 2, 2009, at 22:28 , Saptarshi Guha wrote:> Hello, > Is there a way, in C, to find how deep my current protection stack > is(apart from keeping a count). > I know the default nested size is 50,000 and because of some coding > error i think i'm reaching it. > Is there a way to find out the current depth reached? >extern int R_PPStackTop; (use for debugging purposes only!) Cheers, Simon