Bug
Problem.
Studio Debugger doesn't step into functions that I loaded with 'require', nor does it stop at breakpoints set within those functions.
Reproducible steps:
1.Run the code below.
Expected behavior
Customer wants to debug functions that are contained in .js files called with 'require'.
Sample Code:
// app.js
var win = Ti.UI.createWindow({
backgroundColor: 'blue'
});
var ui = require('ui');
var button = Ti.UI.createButton({
title: 'Test',
top: 20,
height: 50,
width: 200
});
button.addEventListener('click', function(e){
ui.alertIt('hi');
});
win.add(button);
win.open();
// ui.js
exports.alertIt = function(e) {
alert(e);
};
HelpDesk.
APP-899229
Requires the resolution of pull request 647 and pull request 621 to begin work since these change require() behavior.
Appears to be fixed by the pull requests listed in the ticket. Cannot reproduce as of 1.8.0.1.5457cb3, tested TiStudio debugger 1.0.7.201111111956 w/iPhone Sim 5.0.
Closing ticket as the issue cannot be reproduced and due to the above comments.