Skip to content

Commit 0cd75e2

Browse files
committed
Support for expressions using string constants
For example: "hello".charAt(1)
1 parent aa1db88 commit 0cd75e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

External/Plugins/FlashDebugger/Debugger/ExpressionContext.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public Context createContext(java.lang.Object par0)
4848
Value val;
4949
if (par0 is Variable) val = ((Variable)par0).getValue();
5050
else if (par0 is Value) val = (Value)par0;
51+
else if (par0 is java.lang.String) val = DValue.forPrimitive(par0, getIsolateId());
5152
else throw new NotImplementedException();
5253
return new ExpressionContext(session, frame, val);
5354
}

0 commit comments

Comments
 (0)