[TIMOB-11002] Android: Debugger: CommonJS Require: debugger skips require() call
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-14T18:55:04.000+0000 |
Affected Version/s | Release 2.1.2, Release 3.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | debugger, parity, qe-and090112 |
Reporter | Dustin Hyde |
Assignee | Eric Merriman |
Created | 2012-09-19T15:18:09.000+0000 |
Updated | 2017-06-14T18:55:05.000+0000 |
Description
Debugger skips commonJS require() call.
Works on iOS.
For instance, if the debugger steps into this commonjs require:
var myRequire = require('myrequire');
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.
Actual Result:
The require() call in app.js is skipped by the debugger when 'step-into' is called.
Expected Result:
The commonJS module code should be hit by the debugger (i.e., the debugger enters myrequire.js).
Attachments
File | Date | Size |
---|---|---|
android_debugger_console_log.txt | 2012-09-19T15:25:54.000+0000 | 36214 |
android_debugger_studio_log.txt | 2012-09-19T15:25:54.000+0000 | 21107 |
androiddebugger.log | 2012-09-19T15:25:54.000+0000 | 10478 |
app.js | 2012-09-19T15:25:54.000+0000 | 138 |
myinclude.js | 2012-09-19T15:25:54.000+0000 | 192 |
MyProject.zip | 2012-09-19T15:25:54.000+0000 | 3125514 |
myrequire.js | 2012-09-19T15:25:54.000+0000 | 189 |
Closing ticket due to time passed and lack of progress over the past few years. If this problem persists, please file a new ticket.