[TIMOB-6649] Android: Rhino: Breakpoints in require()'ed modules are not getting hit.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-12-14T11:10:27.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | Release 1.8.0.1, Sprint 2011-51, Release 2.0.0, Release 1.8.1 |
Components | Android |
Labels | n/a |
Reporter | Josh Roesslein |
Assignee | Josh Roesslein |
Created | 2011-12-13T16:57:35.000+0000 |
Updated | 2012-01-20T13:31:57.000+0000 |
Description
1. Create an application w/ the app.js and mymodule.js below.
2. Set a breakpoint on one of the lines in app.js and the line in mymodule.js.
3. Debug the application from Studio. First breakpoint in app.js should fire.
4. Resume application. Second breakpoint should now fire.
Expected:
Both breakpoints created in #2 should break after the application launches.
Actual:
None of the breakpoints fire.
var x = 1;
var y = 2;
var z = require('mymodule').z;
exports.z = 3;
[PR #977](https://github.com/appcelerator/titanium_mobile/pull/977) sent for platform updates.
Closing bug. Verified fix on: SDK build: 1.8.0.1.v20111214093905, 1.9.0.v20111214004742 Runtime: Rhino OS: Mac OS X Lion Titanium Studio, build: 1.0.7.201112140358 Device: Android Emulator 2.2
Reopening bug to edit comment
Closing again after editing.