Capture stack traces for all threads, and include local variable details for frame.