Created
August 14, 2012 08:37
-
-
Save joonty/3347567 to your computer and use it in GitHub Desktop.
Patch for context get in RDBGP, part of the Komodo Ruby remote debugger tool. Fixes a problem getting non-local variables.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43a44 | |
> processor.logger.debug("Adjusted stack depth: " + stackDepth.to_s) | |
88c89,93 | |
< val = eval(name, the_binding) | |
--- | |
> s_name = name.inspect | |
> if s_name[0] == ":" | |
> s_name = s_name[1..-1] | |
> end | |
> val = eval(s_name, the_binding) | |
93c98 | |
< namesAndValues << [name, val] | |
--- | |
> namesAndValues << [s_name, val] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment