Thread.countStackFrames

Thread.countStackFrames

Class Overview | Class Members | This Package | All Packages

Syntax
public native int countStackFrames()
Returns
the number of stack frames in this thread.
Description
Counts the number of stack frames in this thread. The thread must be suspended.

Exceptions
IllegalThreadStateException if this thread is not suspended.