Skip to content

Commit f21a7b2

Browse files
committed
Merge pull request #582 from Neverbirth/debugging_improvements
Support for expressions using string constants
2 parents 1a403d1 + 0cd75e2 commit f21a7b2

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)