There is a tool called "Trace" that should do what you want.