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

Ruby 2.5 Instrumented Code outside of methods in a class #812

ryanatball opened this Issue Jun 21, 2018 · 0 comments


None yet
1 participant

ryanatball commented Jun 21, 2018

The following fails on line 2 in ScriptRunner with Ruby 2.5 because of the return in the instrumented code. Either stop allowing injecting returns with the debugger or update the instrumenter to not instrument these lines.

class Foo
  C = 1
  def mymethod

puts Foo::C

@ryanatball ryanatball added the bug label Jun 21, 2018

@ryanatball ryanatball changed the title from Ruby 2.5 Instrumented Code instrumented code outside of methods in a class to Ruby 2.5 Instrumented Code outside of methods in a class Jun 21, 2018

@ryanatball ryanatball added this to the v4.3.0 milestone Aug 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment