dump task with its context