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: Android Emulator 2.2/2.3.3
Debugger skips commonJS require() call.
Works on iOS.
For instance, if the debugger steps into this commonjs require:
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.
The require() call in app.js is skipped by the debugger when 'step-into' is called.
The commonJS module code should be hit by the debugger (i.e., the debugger enters myrequire.js).