From c4c1e449d37429f1114e8cdf478ca5f59283b4bc Mon Sep 17 00:00:00 2001 From: vms Date: Thu, 22 Apr 2021 20:35:11 +0300 Subject: [PATCH] add log --- crates/it-lilo-utils/src/memory_writer.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/it-lilo-utils/src/memory_writer.rs b/crates/it-lilo-utils/src/memory_writer.rs index ceda3d4..7f36978 100644 --- a/crates/it-lilo-utils/src/memory_writer.rs +++ b/crates/it-lilo-utils/src/memory_writer.rs @@ -111,6 +111,8 @@ impl<'w, 'm> SequentialWriter<'w, 'm> { pub fn write_array(&self, values: [u8; N]) { let offset = self.offset.get(); + log::trace!("write array: offset {} {:?}", offset, values); + self.writer.memory[offset..offset + N] .iter() .zip(values.iter())