Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6649] Android: Rhino: Breakpoints in require()'ed modules are not getting hit.

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2011-12-14T11:10:27.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sRelease 1.8.0.1, Sprint 2011-51, Release 2.0.0, Release 1.8.1
ComponentsAndroid
Labelsn/a
ReporterJosh Roesslein
AssigneeJosh Roesslein
Created2011-12-13T16:57:35.000+0000
Updated2012-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;

Comments

  1. Josh Roesslein 2011-12-13

    [PR #977](https://github.com/appcelerator/titanium_mobile/pull/977) sent for platform updates.
  2. Wilson Luu 2011-12-14

    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
  3. Wilson Luu 2011-12-14

    Reopening bug to edit comment
  4. Wilson Luu 2011-12-14

    Closing again after editing.

JSON Source