Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6536] Android: V8: Stepping over inside an included file and back into the calling script requires an additional step over.

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-07-26T03:06:07.000+0000
Affected Version/sRelease 1.8.0.1, Sprint 2012-03
Fix Version/sn/a
ComponentsAndroid
Labelsbranch-v8
ReporterEric Merriman
AssigneeEric Merriman
Created2011-12-09T11:31:48.000+0000
Updated2017-07-26T03:06:07.000+0000

Description

While running Basic Breakpoint test case there are two points at which the stepping is not working as expected. The first is after the first breakpoint hit where the tester must hit "Step Over". At this point it is expected that line 2 of app.js is highlighted. This does not occur. Clicking "Step over" again (as is required as a workaround with some other discovered bugs) results is a source not found error. Steps to reproduce: 
1) Create a new project in studio called debug_test
 2) Move the js files from the debug test project in titanium_mobile_tests_internal 3) Refer to the test plan at http://wiki.appcelerator.org/display/tp/Debugger+Test+Plan
 4) Execute test case 1013 Result:
 Step 5 fails to produce expected result. Breaks at import.js line 13 

 Expected: Step 5 "step over" highlights line 2 of app.js

Comments

  1. Michael Pettiford 2011-12-15

    Tested with Ti Mob Build 1.8.0.1.v20111214093905 The actual result is that instead of hitting call frame at 2 it hits at 13
  2. Josh Roesslein 2011-12-16

    Michael, which file was that line 13?
  3. Josh Roesslein 2011-12-16

    Confirmed with Eric the break on line 13 occurs in import.js
  4. Wilson Luu 2012-03-29

    Bug still persists on: SDK build: 2.0.0.v20120328000206 Runtime: v8 Titanium Studio, build: 2.0.0.201203271933 Device: Android Emulator 2.2 OS: Snow Leopard (10.6.8) Note: Only tested with v8. Did not test on rhino.
  5. Lee Morris 2017-07-26

    Closing due to inactivity. If this issue still exists, please raise a new ticket.

JSON Source