pry / pry-stack_explorer

Walk the stack in a Pry session
Other
454 stars 28 forks source link

prevent Frame: 0/5 being displayed when Pry is started at CLI #7

Closed banister closed 12 years ago

banister commented 12 years ago

Fix this by doing a check in the before_command hook, and skipping if binding is == Pry.toplevel_binding

crow:pry-debugger john$ pry

Frame number: 0/6
[1] (pry) main: 0> 
ConradIrwin commented 12 years ago

+¼ + ⅜ +⅝