Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11370] Incorrect source URL for js files loaded via window.url

GitHub Issuen/a
TypeSub-task
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-10-12T23:06:11.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 21 Core, 2012 Sprint 21
ComponentsAndroid
Labelscore
ReporterMax Stepanov
AssigneeMax Stepanov
Created2012-10-10T23:08:08.000+0000
Updated2017-03-08T23:49:31.000+0000

Description

Sample code: app.js
var win = Ti.UI.createWindow({
    url : 'win.js'
});
 
win.open();
win.js
var win = Ti.UI.currentWindow;
 
win.backgroundColor = 'white';
debugger;
Steps to Reproduce: 1. Run code Actual Result: Debugger keyword should be hit. TiStudio shows source is not resolved or incorrect file shown. Expected Result: Debugger keyword should be hit. TiStudio should show correct file and line.

Comments

  1. Max Stepanov 2012-10-10

    PR submitted https://github.com/appcelerator/titanium_mobile/pull/3161
  2. Max Stepanov 2012-11-12

    3_0_X PR was already included into https://github.com/appcelerator/titanium_mobile/pull/3281
  3. Lee Morris 2017-03-08

    Closing ticket as fixed.

JSON Source