Added functionality to do tracing on an execution