nixme / pry-nav

Binding navigation commands for Pry to make a simple debugger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why is pry-nav discouraged for MRI?

justin808 opened this issue · comments

Why is pry-nav discouraged for MRI?

Per the README:

Using MRI? We recommend break or pry-byebug instead!

pry-byebug has some issue with zeitwerk

@justin808 honestly, not sure. Want to submit a PR to change this?

Most likely, https://github.com/ruby/debug is going to be the path forward, but can't hurt to update this for now.

Agreed with @iloveitaly that ruby/debug will be the path forward, but I originally put the recommendation because pry-nav uses set_trace_func which at the time was much slower than byebug. Ruby docs also say set_trace_func is obsolete. We could change to the TracePoint API and remove that recommendation.

@iloveitaly Here you go: #42.