Subj : Re: Getting stack depth at Interrupt To : netscape.public.mozilla.jseng From : John Bandhauer Date : Tue Apr 05 2005 12:09 am Iterating the stack with JS_FrameIterator is plenty fast. John. Mike Moening wrote: > What is the most efficient way to get the current stack depth whenever the > interrupt hook is fired? > > I would like to do it without using the following methods: > 1) Iterating the stack and keeping a counter. > 2) using JS_SetCallHook > > Is there a simple variable or api that I can use to get the current depth? > > Mike M. > > .