mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Print call trace to stderr.
This commit is contained in:
parent
6beb76c3ae
commit
cf83a9785f
@ -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);
|
||||
}))))
|
||||
}
|
||||
_ => {}
|
||||
|
Loading…
Reference in New Issue
Block a user