Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-17992

Android: Stepping over the last line while debugging does not load the app

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: Release 3.4.0
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
    • Environment:

      Appcelerator Studio, build: 3.4.0.201409131030
      CLI: 3.4.0-rc3
      Alloy: 1.5.0-rc2
      Code processor: 1.1.1
      SDK: 3.4.0.v20140915175720
      Mac OSX version 10.9.4
      Xcode: Xcode 6 GM seed
      Device: Samsung Note 10.1 (4.3)

    • Story Points:
      8

      Description

      When breakpoints for an app is set in a manner that the app will only load on device once the break point is resumed, stepping over on the last line of the code will not allow the app to load on device/emulator. For eg. when breakpoint is inserted in a sample classic project, clicking on the resume option allows the app to load on device however clicking on step over option till the end of the file does not load the app on to device/emulator.

      This is not a regression as it is reproducible with Appcelerator studio 3.3.0

      Steps to reproduce:
      1. Create a sample classic app
      2. Insert break points on 'win1.add(label1);' on app.js file
      3. Debug on an android device/emulator
      4. Click on resume
      5. Debug again on device/emulator
      6. Step over till the end of the file.

      Actual Result:
      3. Break point is hit and a black screen is shown on device/emulator
      4. The app loads on device/emulator and works as expected
      5. Break point is hit and a black screen is shown
      6. App does not load and continues showing black screen

      Expected Result:
      6. App should load and should work as expected.

      When this is tested with iOS device and emulator, there is no issue and works as expected.

        Attachments

          Activity

            People

            • Assignee:
              msamah Ashraf Abu (Inactive)
              Reporter:
              vchidambaram Visalakshi Chidambaram
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-19361
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration