Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11005] Android: Debugger: Ti.include: debugger skips Ti.include() call

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-14T18:54:49.000+0000
Affected Version/sRelease 2.1.2, Release 3.0.0
Fix Version/sn/a
ComponentsAndroid
Labelsdebugger, parity, qe-and090112
ReporterDustin Hyde
AssigneeEric Merriman
Created2012-09-19T15:35:35.000+0000
Updated2017-06-14T18:54:49.000+0000

Description

Debugger skips Ti.include() call. Works on iOS. For instance, if the debugger steps into this Ti.include() call:
Ti.include('myinclude.js');
The line will be skipped by the debugger. Attached sample project 'MyProject' (includes js files and breakpoint at line 1). Attached separate js files (app.js, myrequire.js, and myinclude.js) for reference (same as in 'MyProject.zip'). Attached debugger protocol log: 'androiddebugger.log' Attached studio/console logs: 'android_debugger_console_log.txt' and 'android_debugger_studio_log.txt' for reference. Steps to Reproduce: 1. Run MyProject in debugger. 2. Step into every line in app.js, and step over every line in myrequire.js and myinclude.js. Actual Result: The Ti.include() call in app.js is skipped by the debugger when 'step-into' is called. Expected Result: The Ti.include js code should be hit by the debugger (i.e., the debugger enters myinclude.js).

Attachments

FileDateSize
android_debugger_console_log.txt2012-09-19T15:35:36.000+000036214
android_debugger_studio_log.txt2012-09-19T15:35:36.000+000021107
androiddebugger.log2012-09-19T15:35:36.000+000010478
app.js2012-09-19T15:35:36.000+0000138
myinclude.js2012-09-19T15:35:36.000+0000192
MyProject.zip2012-09-19T15:35:36.000+00003125514
myrequire.js2012-09-19T15:35:36.000+0000189

Comments

  1. Lee Morris 2017-06-14

    Closing ticket due to time passed and lack of progress over the past few years. If this problem persists, please file a new ticket.

JSON Source