public final class DebugStackTraceElement extends Object
name, the current
scopescontaining local variables and arguments.
The difference between this class and
DebugStackFrame is the limited life-time of
DebugStackFrame, that is associated with a
|Modifier and Type||Method and Description|
Provides a host element.
A description of the trace element.
Get the current inner-most scope.
Returns the source section location of this trace element.
Returns whether this trace element is a language implementation artifact.
public boolean isInternal()
The decision to mark a method as internal is language-specific, reflects judgments about tool usability, and is subject to change.
public boolean isHost()
trueif this element is a host element. Host elements provide
stack trace element, have no
scope, and no
Host elements are provided only when
host info is set to
public StackTraceElement getHostTraceElement()
nullwhen not a host element.
public String getName()
public SourceSection getSourceSection()
nullif the source location is not available.
public DebugScope getScope()
nullwhen no language is associated with this frame location, or when no local scope exists.