diff --git a/src/lib.rs b/src/lib.rs index 1779b6e..cd87547 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -443,7 +443,7 @@ unsafe fn trace_from_process_id( let entry = context.stack_counts_hashmap.entry(stack); *entry.or_insert(0) += 1; - const DEBUG_OUTPUT_EVENTS: bool = false; + const DEBUG_OUTPUT_EVENTS: bool = true; if DEBUG_OUTPUT_EVENTS { #[repr(C)] #[derive(Debug)] diff --git a/tests/basic.rs b/tests/basic.rs index eec8f58..769be9a 100644 --- a/tests/basic.rs +++ b/tests/basic.rs @@ -4,6 +4,6 @@ use std::process::Command; fn test_basic() { let mut cmd = Command::new("ping"); cmd.arg("localhost"); - let result = blondie::trace_command(cmd, false).unwrap(); + let result = blondie::trace_command(cmd, true).unwrap(); assert!(0 < result.iter_callstacks().count()); }