Updated to work with the stacks created by both pry-debugger and pry-stack_explorer.