-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Though, up down which come from pry-stack_explorer work quite well for me.
Could you please give a example for describe how up/down work? if it should same as pry-stack_explorer?
Following is my test case when use with break.
From: /home/common/Project/pryx/5.rb:21 Object#hello3:
19: def hello3
20: x = 4
=> 21: binding.pry
22: end
[1] pry(main)> up
Cannot go further up the stack
[2] pry(main)> down
Cannot go further down the stack
[3] pry(main)> But, it works when use with 'pry-stack_explorer'
Frame number: 0/4
From: /home/common/Project/pryx/5.rb:22 Object#hello3:
20: def hello3
21: x = 4
=> 22: binding.pry
23: end
[1] pry(main)> up
Frame number: 1/4
Frame type: method
From: /home/common/Project/pryx/5.rb:17 Object#hello2:
15: def hello2
16: x = 3
=> 17: hello3
18: end
[2] pry(main)> up
Frame number: 2/4
Frame type: method
From: /home/common/Project/pryx/5.rb:12 Object#hello1:
10: def hello1
11: x = 2
=> 12: hello2
13: end
[3] pry(main)> Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels