Class StackSnapshot
- java.lang.Object
-
- com.tonic.analysis.execution.debug.StackSnapshot
-
public final class StackSnapshot extends Object
An immutable view of a frame's operand stack, taken at one point in execution.
-
-
Constructor Summary
Constructors Constructor Description StackSnapshot(ConcreteStack stack)Copies every stack entry into an unmodifiable list of value descriptions.
-
-
-
Constructor Detail
-
StackSnapshot
public StackSnapshot(ConcreteStack stack)
Copies every stack entry into an unmodifiable list of value descriptions.- Parameters:
stack- the live operand stack- Throws:
IllegalArgumentException- if the stack is null
-
-