Class VmExecutionResult
Result of executing a P-Code program on the VM.
public sealed class VmExecutionResult
- Inheritance
-
VmExecutionResult
- Inherited Members
Constructors
VmExecutionResult(int[], int, IReadOnlyList<VmDiagnostic>)
Creates a new execution result.
public VmExecutionResult(int[] stackSnapshot, int top, IReadOnlyList<VmDiagnostic> diagnostics)
Parameters
stackSnapshotint[]Captured stack snapshot.
topintTop-of-stack index.
diagnosticsIReadOnlyList<VmDiagnostic>Diagnostics produced during execution.
Properties
Diagnostics
Gets the execution diagnostics.
public IReadOnlyList<VmDiagnostic> Diagnostics { get; }
Property Value
StackSnapshot
Gets the stack snapshot.
public int[] StackSnapshot { get; }
Property Value
- int[]
Success
Gets a value indicating whether execution completed without diagnostics.
public bool Success { get; }
Property Value
Top
Gets the top-of-stack index.
public int Top { get; }