We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use the IntelliJ/RubyMine debugger, which occasionally trips on this line. The gist is here:
locals = eval("local_variables", binding) locals.each {|local| result[local.to_s] = eval(local.to_s, binding)}
The local_variables method is reporting some variable names (in my case, m), which, when evaled, raises uncaught errors that crash the debugger.
local_variables
m
I'm thinking, at the very least:
locals.each {|local| result[local.to_s] = eval(local.to_s, binding) rescue :ghost}
Then, in our debuggers' lists of locals, it'd be clear that the variable did or should exist, but doesn't. Also, we could still debug stuff.
Thoughts, anybody?
The text was updated successfully, but these errors were encountered:
Looks like a reasonable approach to avoid the critical problem. PR is welcome ;)
Sorry, something went wrong.
@os97673 I just saw this. It's on my todo list now ;)
I believe the problem has been fixed, feel free to reopen if it is not.
No branches or pull requests
I use the IntelliJ/RubyMine debugger, which occasionally trips on this line. The gist is here:
The
local_variables
method is reporting some variable names (in my case,m
), which, when evaled, raises uncaught errors that crash the debugger.I'm thinking, at the very least:
Then, in our debuggers' lists of locals, it'd be clear that the variable did or should exist, but doesn't. Also, we could still debug stuff.
Thoughts, anybody?
The text was updated successfully, but these errors were encountered: