Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6529] Android: Debugger - v8 - Array test case returns object instead of variables

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2011-12-12T18:54:36.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsbranch-v8
ReporterEric Merriman
AssigneeMarshall Culpepper
Created2011-12-09T10:42:02.000+0000
Updated2017-03-10T19:05:42.000+0000

Description

Running array test case should return 1, 2, a, { b = c; } but returns 1,2,a,[object Object]. Steps to reproduce: 1) Create a new project in studio called debug_test 2) Move the js files from the debug test project in titanium_mobile_tests_internal 3) Refer to the test plan at http://wiki.appcelerator.org/display/tp/Debugger+Test+Plan 4) Execute test case 1006 Result: Console output is 1,2,a,[object Object] Expected: Console output is 1, 2, a, { b = c; }

Comments

  1. Josh Roesslein 2011-12-11

    Our V8 runtime logging format is slightly different than Rhino. This issue isn't a debugger bug and is something we probably won't address in platform.
  2. Marshall Culpepper 2011-12-12

    This is pretty minor change in the way we print objects, and isn't technically a debugger issue. Since this is consistent between our runtimes, and JSON.stringify is readily available, resolving this with WONTFIX (confirmed w/ Natalie)
  3. Lee Morris 2017-03-10

    Closing ticket as the issue will not fix.

JSON Source