[TIMOB-11370] Incorrect source URL for js files loaded via window.url
GitHub Issue | n/a |
---|---|
Type | Sub-task |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-10-12T23:06:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.0.0, Release 3.1.0, 2012 Sprint 21 Core, 2012 Sprint 21 |
Components | Android |
Labels | core |
Reporter | Max Stepanov |
Assignee | Max Stepanov |
Created | 2012-10-10T23:08:08.000+0000 |
Updated | 2017-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.
PR submitted https://github.com/appcelerator/titanium_mobile/pull/3161
3_0_X PR was already included into https://github.com/appcelerator/titanium_mobile/pull/3281
Closing ticket as fixed.