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

Android: Unable to debug an application with run-on-main-thread set to true

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.4.0
    • Fix Version/s: Release 6.0.0
    • Component/s: Android, Hyperloop
    • Labels:
    • Environment:

      Windows 10 Pro, OSX 10.11.5
      Appc CLI Core: 5.4.0-31
      Appc CLI NPM: 4.2.7
      Ti SDK: 5.4.0.v20160712013704
      Appc Studio: 4.7.0.201607111053

    • Story Points:
      5
    • Sprint:
      2016 Sprint 16 SDK

      Description

      Description

      When debugging a project with run-on-main-thread enabled the breakpoints will not be hit.

      Steps to reproduce
      1. Create an alloy application from Studio with services disabled
      2. Place a breakpoint in index.js on line 2
      3. Debug the application on device
      4. Press the 'Hello World' label
      5. Enable hyperloop for the project by clicking the 'Enable Services' button or add <property name="run-on-main-thread" type="bool">true</property> to the tiapp.xml
      6. Debug the application
      7. Press the 'Hello World' label
      Actual result

      The breakpoint is hit in step 4 but not in step 7

      Expected result

      The breakpoint should be hit in step 4 and 7

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Kondal Kolipaka (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration