Field access in a Rust debug REPL, without reflection

(github.com)

2 points | by yoheisenju 8 hours ago ago

3 comments

  • yoheisenju 8 hours ago ago

    One paragraph on the Ruby binding.pry experience: one line of code, no debugger setup, a live REPL at the breakpoint. The pain in Rust today: dbg! is one-way, lldb/gdb setup is heavy, so everyone falls back to println! debugging.

    For that reason, I implemented a crate that lets you experience Ruby's binding.pry in Rust as well

  • MiroslavPokorny 7 hours ago ago

    Thanks for sharing. Starred and followed