From dbc42a4083672f38104533118b4bac98afb1a1e0 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 23 Jun 2020 13:19:19 +0200 Subject: [PATCH] xact3::xwb: Log segment lengths for debugging --- src/xact3/xwb.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xact3/xwb.rs b/src/xact3/xwb.rs index 3181a41..7a75dc4 100644 --- a/src/xact3/xwb.rs +++ b/src/xact3/xwb.rs @@ -191,11 +191,11 @@ impl WaveBank<'_> { .map(|x| x.get_from(data)) .collect(); - debug!("Parsing info"); + debug!("Parsing info (length {})", segments[0].len()); let info = exec_nom_parser(Info::parse, segments[0])?; - debug!("Parsing entries"); + debug!("Parsing entries (length {})", segments[1].len()); let entries = exec_nom_parser(count(Entry::parse, info.entry_count as usize), segments[1])?; - debug!("Parsing entry names"); + debug!("Parsing entry names (length {})", segments[3].len()); let entry_names = exec_nom_parser(count(take_str64, info.entry_count as usize), segments[3])?;