diff --git a/src/protocol/eval/executor.rs b/src/protocol/eval/executor.rs index 45f0140c2ddca9f96eebf5ad99202de5d8489cb2..901951462ed920ccb465812dd991c5e30beb11d3 100644 --- a/src/protocol/eval/executor.rs +++ b/src/protocol/eval/executor.rs @@ -8,13 +8,13 @@ use crate::protocol::*; use crate::protocol::ast::*; use crate::protocol::type_table::*; -macro_rules! debug_enabled { () => { false }; } +macro_rules! debug_enabled { () => { true }; } macro_rules! debug_log { ($format:literal) => { - enabled_debug_print!(false, "exec", $format); + enabled_debug_print!(true, "exec", $format); }; ($format:literal, $($args:expr),*) => { - enabled_debug_print!(false, "exec", $format, $($args),*); + enabled_debug_print!(true, "exec", $format, $($args),*); }; } @@ -300,7 +300,7 @@ impl Prompt { return Ok(EvalContinuation::ComponentTerminated); } - debug_log!("Taking step in '{}'", heap[cur_frame.definition].identifier().value.as_str()); + debug_log!("Taking step in '{}'", heap[cur_frame.definition].identifier.value.as_str()); // Execute all pending expressions while !cur_frame.expr_stack.is_empty() {