Open leandrogoe opened 6 years ago
I also would like to skip code if possible and maybe have a .byebugignore
file where we can specify the code that gets removed from the backtrace and the stepping into.
.byebugignore
*/gems/*
Has anybody made any progress on this one? I'd love to be able to see a hack that I could put in my .pryrc to provide a command that gives a truncated backtrace.
I think this could solve your issue: https://rubyjard.org/. It's a wrapper around byebug, with a nice Terminal UI, and plenty of features. One of the key feature is frame filtering that allow you to debug application code only. All unwanted backtrace are hidden.
Problem description
This is not an issue, but an enhancement. It would be nice to have a option for the backtrace command, so that code in gems and rubies is skipped.
I tested the following, patch, which works (but I doubt you would like to merge as is):