Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3488] Debugger: eval only evals as string when setting variables

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2011-04-25T18:02:50.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-17
ComponentsiOS
Labelsdebugger, ios
ReporterStephen Tramer
AssigneeStephen Tramer
Created2011-04-15T03:45:48.000+0000
Updated2017-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.

Comments

  1. Stephen Tramer 2011-04-25

    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).
  2. Lee Morris 2017-03-02

    Closed as invalid.

JSON Source