[TIMOB-3488] Debugger: eval only evals as string when setting variables
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-25T18:02:50.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-17 |
Components | iOS |
Labels | debugger, ios |
Reporter | Stephen Tramer |
Assignee | Stephen Tramer |
Created | 2011-04-15T03:45:48.000+0000 |
Updated | 2017-03-02T19:31:04.000+0000 |
Description
May require some support on the IDE side as well, but the 'eval' command, ONLY when setting variables, evaluates its expressions as though they were strings.
Issue was misdiagnosed due to the fact that string values and number values are rendered identically in the debugger at this time, and string values cannot be replaced with identical "number" values (i.e. the debugger considers 4=="4" to be true, as JS would).
Closed as invalid.