mirror of
https://github.com/fluencelabs/wasmer
synced 2025-07-02 18:11:34 +00:00
Print call trace to stderr.
This commit is contained in:
@ -16,7 +16,7 @@ impl FunctionMiddleware for CallTrace {
|
||||
match op {
|
||||
Event::Internal(InternalEvent::FunctionBegin(id)) => {
|
||||
sink.push(Event::Internal(InternalEvent::Breakpoint(Box::new(move |_| {
|
||||
println!("func ({})", id);
|
||||
eprintln!("func ({})", id);
|
||||
}))))
|
||||
}
|
||||
_ => {}
|
||||
|
Reference in New Issue
Block a user