Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24037] Android: Debugging not working with Hyperloop enabled

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-08-12T17:20:54.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sn/a
ComponentsAndroid
Labelsqe-6.0.0
ReporterLokesh Choudhary
AssigneeUnknown
Created2016-10-14T18:24:48.000+0000
Updated2019-08-12T17:20:54.000+0000

Description

Steps to reproduce:

1. Create an android project & set a breakpoint in the app.js. 2. Make sure you have hyperloop enabled & run-on-main-thread set to true. 3. From studio debug the project on android emulator/device. 4. Again debug the application but now with hyperloop enabled & run-on-main-thread set to false.

Actual results:

1. With hyperloop enabled & run-on-main-thread set to true the breakpoint is not hit. 2. With hyperloop enabled & run-on-main-thread set to false the breakpoint is not hit. 3. If hyperloop is diabled & run-on-main-thread set to true or false the breakpoint is hit. ||Hyperloop|||(/)||(x)||(/)||(x) ||Run on main thread|||(/)||(/)||(x)||(x) ||Debugging Working?|||No||Yes||No||Yes|

Expected results:

1. Debugging should work with hyperloop enabled with run-on-main-thread set to true or false.

Comments

  1. Hans Knöchel 2017-01-08

    [~lchoudhary] I think we fixed this for 6.0.0.GA, could you validate this again if possible? :-) It's currently marked for 6.1.0
  2. Lokesh Choudhary 2017-02-16

    [~hansknoechel],Does not seem to be fixed. I can still reproduce it with 6.0.2.v20170215162535.
  3. Hans Knöchel 2017-02-17

    Thx. Leaving open for 6.1.0 then.
  4. Alan Hutton 2019-08-12

    Could not reproduce using 8.0.2.GA SDK. The breakpoint for all three scenarios below, the breakpoint was hit. 1. With hyperloop enabled & run-on-main-thread set to true the breakpoint is hit. 2. With hyperloop enabled & run-on-main-thread set to false the breakpoint is hit. 3. If hyperloop is diabled & run-on-main-thread set to true or false the breakpoint is hit.

JSON Source