Add a progress bar while tracing