Tracer runs traces asynchronously. Added a synchronous wrapper. Unrelated but similar: when you click 'run' the tracing happens outside the UI thread.