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


    • 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.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:
    • Sprint:
      2016 Sprint 22 Studio


      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

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

      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


          Issue Links



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


                • Created: