Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27610] Android: Debugger does not hit breakpoint for an alloy app on a device.

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2019-11-21T11:59:05.000+0000
Affected Version/sRelease 8.3.0
Fix Version/sRelease 8.3.0
ComponentsAndroid
LabelsengSchedule, regression
ReporterLokesh Choudhary
AssigneeGary Mathews
Created2019-11-18T16:54:40.000+0000
Updated2019-11-21T11:59:05.000+0000

Description

Steps to reproduce:

1. Create a default alloy app. 2. Set the breakpoint at line 2 in index.js 3. Debug on android device.

Actual results:

1. The debugger stops on line 2 on the mapped index.js (screenshot attached) & stays on the splash screen. 2. Hitting play, the app window is visible but clicking on the label does not stop on the intended breakpoint. 3. Works fine with classic app.

Expected result:

1. The debugger should stop on the intended breakpoint.

Comments

  1. Christopher Williams 2019-11-18

    https://github.com/appcelerator/titanium_mobile/pull/11344
  2. Gary Mathews 2019-11-18

    8_3_X: https://github.com/appcelerator/titanium_mobile/pull/11344
  3. Gary Mathews 2019-11-19

    master: https://github.com/appcelerator/titanium_mobile/pull/11351
  4. Satyam Sekhri 2019-11-19

    FR Passed. Debug on alloy and classic projects works for both android device and emulator.
  5. Samir Mohammed 2019-11-21

    Closing ticket fix verified in SDK Version 8.3.0.v20191120160657, 9.0.0.v20191120161007. Test and other information can be found at: 8_3_X: https://github.com/appcelerator/titanium_mobile/pull/11344 master: https://github.com/appcelerator/titanium_mobile/pull/11351

JSON Source