miden-debug 0.11.0

An interactive debugger for Miden VM programs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# A program that leaves more than 16 elements on the stack fails at program end.
# The debugger surfaces the VM error rather than reporting success.
#
# RUN: compile-masm %S/error.masm -o %t.masp
# RUN: miden-debug --commands %s %t.masp 2>&1 | filecheck %s

continue
backtrace
frame 0

# CHECK: Program terminated with error: stack should have at most 16 elements
# CHECK: Backtrace (1 frames):
# CHECK-NEXT: * #0 $exec::$main at {{.*}}error.masm:6:5
# CHECK: at {{.*}}error.masm:6:5 in $exec::$main