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

Android Debugger: Not all variables shown during debug of android app with SDK 6.0.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.8.0
    • Fix Version/s: Release 4.8.0
    • Component/s: Android
    • Environment:

      Android Device: Nexus 5 (v6.0.1)
      Mac OSX El Capitan 10.11.6 
      Ti SDK: 6.0.0.v20161023042103
      Appc Studio: 4.8.0.201610200817, 4.7.1
      Appc NPM: 4.2.8-7
      App CLI: 6.0.0-61
      Xcode 8.0
      Node v4.6.0
      Preprod Environment

    • Story Points:
      8
    • Sprint:
      2016 Sprint 22 Studio

      Description

      With SDK 6.0.0 when an android app is debugged then the variable window does not show all the variables.

      • This is a regression as the issue does not occur with SDK 5.5.1.GA

      Refer to attached screenshot as well to notice the difference in variables shown across two versions of SDK

      Steps to Reproduce:
      1. create a classic app
      2. Replace the code in app.js with the following code

      Ti.include("import.js");
      var y = {foo:'bar'};
       
      var f = function() {
      	var foo = "a";
      	Ti.API.info("Inside anonymous function: "+foo);
      	Ti.API.info("Global val: "+x);
      	x+=1;
      };
      f();
      

      3. Add a new file import.js and add following code in it

      var x = 10;
      Ti.API.info("x = "+x);
      

      4. Add a breakpoint in import.js and also on any appropriate line in app.js
      5. Debug on android device

      Actual result:
      When the breakpoint in import.js is hit then check the variables. Not all appropriate variables are shown. Hit resume to hit the breakpoint in app.js. Even not all appropriate variables are shown even when the control is in app.js

      Expected Result:
      All the appropriate variables should be shown in the variable window during debug

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                ssekhri Satyam Sekhri
                Reviewer:
                Kondal Kolipaka (Inactive)
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: