We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aca3a1 commit 39cd1d6Copy full SHA for 39cd1d6
src/main/java/org/truffleruby/debug/BindingLocalVariablesObject.java
@@ -48,6 +48,10 @@ protected boolean hasMembers() {
48
@ExportMessage
49
@TruffleBoundary
50
protected Object getMembers(boolean includeInternal) {
51
+ if (binding == null) { // Not set yet
52
+ return new VariableNamesObject(StringUtils.EMPTY_STRING_ARRAY);
53
+ }
54
+
55
String[] variables = BindingNodes.LocalVariablesNode
56
// There should be no duplicates since there is no scope above
57
.listLocalVariablesWithDuplicates(binding.getFrame(), null)
0 commit comments