Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support IRB.conf[:BACKTRACE_FILTER] #917

Merged
merged 2 commits into from
May 1, 2024
Merged

Support IRB.conf[:BACKTRACE_FILTER] #917

merged 2 commits into from
May 1, 2024

Commits on Apr 30, 2024

  1. Use 'irbtest-' instead if 'irb-' as prefix of test files.

    Otherwise IRB would mis-recognize exceptions raised in test files as
    exceptions raised in IRB itself.
    st0012 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    8c62b82 View commit details
    Browse the repository at this point in the history
  2. Support IRB.conf[:BACKTRACE_FILTER]`

    This config allows users to customize the backtrace of exceptions raised
    and displayed in IRB sessions. This is useful for filtering out library
    frames from the backtrace.
    
    IRB expects the given value to response to `call` method and return
    the filtered backtrace.
    st0012 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    b9aad76 View commit details
    Browse the repository at this point in the history