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

Native api fix rdebug recursion alt #1205

Merged
merged 5 commits into from
Nov 13, 2020

Commits on Nov 10, 2020

  1. Fix infinite recursion and NameError on load when running with -rdebug

    When running with `ruby -rdebug` with a breakpoint set, `self.to_str` (which is not defined) is called repeatedly during module load, including the time after the `class << self` block is loaded but before further blocks that add more bits to `self` are.
    As such, the dynamic method resolution machinery has to not break in this partially initialized state.
    native-api committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    7254560 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2020

  1. change style

    native-api committed Nov 11, 2020
    Configuration menu
    Copy the full SHA
    6926078 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. Alternative solution

    May break something due to submodules being loaded early
    native-api committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    340c0f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33f5bc5 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2020

  1. Configuration menu
    Copy the full SHA
    2001955 View commit details
    Browse the repository at this point in the history