Function debug_run

Source
pub fn debug_run(
    ast: AnalyzedProgram<'_>,
    clock_hz: u64,
) -> Result<i64, RuntimeError>
Expand description

Executes the given program using the VM on debug mode. The Ok(_) variant also returns non-error diagnostics. The Err(_) variant returns a Vec<Diagnostic> which contains at least one error.