Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-9177

Android Debug: Array variable cannot be expanded in variables view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.2
    • Fix Version/s: Release 5.1.3
    • Component/s: Android, Debugging
    • Labels:
      None
    • Environment:

      Mac OS 10.14.3
      Ti SDK: 8.1.0.v20190530095350
      Appc CLI: 7.0.11
      Node: 10.13.0
      JDK: 1.8.0_144
      Studio: 5.2.0.201905241953

      Description

      When debugging on Android the variables view does not provide an option to expand the array type variable. On iOS it does and shows the value at each index.

      Steps to Reproduce:
      1. Create a titanium project with following code in app.js

      var a = [1,2,3];
      Ti.API.info(a);
      

      2. Add a breakpoint on line 2
      3. Debug on Android
      4. Check the variables view when the debugger suspends on line 2

      Actual Result:
      The variable 'a' is shown in variable view but cannot be expanded. It is shown with a value 'Array(3)'

      Expected Result:
      As in iOS we should be able to view the array elements in the variable view

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: