Affects Version/s: Release 2.1.2, Release 3.0.0
Fix Version/s: None
Titanium Studio: 2.1.2, 3.0.0
Titanium SDK: 2.1.2.GA, 3.0.0.v20120917105713
OS: Mountain Lion 10.8
Devices Tested: iPhone Simulator 5.1/6.0
Debugger skips local assignments in commonjs modules.
For instance, if the debugger steps over this commonjs module line by line:
'var myRequireLocal = 'myRequireLocal'' and 'exports.myFunction = function()' 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: 'iosdebugger.log'
Attached studio/console logs: 'ios_debugger_console_log.txt' and 'ios_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.
The assignment statements in myrequire.js are never hit by the debugger.
Every assignment statement in myrequire.js should be hit (the line marker will pause and the values pane will be populated).