Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18610] Debugger: Breakpoint not hit in loop of click event

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2016-03-17T17:13:07.000+0000
Affected Version/sRelease 3.5.1
Fix Version/sn/a
Componentsn/a
Labelsdebugger, qe-3.5.1
ReporterEric Wieber
AssigneeChee Kiat Ng
Created2015-02-24T21:58:00.000+0000
Updated2016-03-17T17:23:29.000+0000

Description

Using the attached file in a project, I do not see a breakpoint being hit when inside the loop of the click event (line 31). *Steps to reproduce issue*: 1. Use the attached app.js to create a new project 2. Add a breakpoint to line 31 (Ti.API.debug("Hello: " + i);) 3. Debug the project and click on the label: "I am Window 1" 4. Notice that the breakpoint is not hit *Expected result*: The breakpoint is hit on each iteration of the for-loop

Attachments

FileDateSize
app.js2015-02-24T21:58:00.000+00001282

Comments

  1. Angel Petkov 2016-03-16

    [~ewieber] Hi, this issue doesn't seem to persist on the 5.2.0.Could you test it again please ? Its quite an old ticket so i wasn't able to re-produce the issue as i couldn't run SDK 3.5.1/2. Thanks!
  2. Eric Wieber 2016-03-17

    Verified I am no longer able to reproduce this issue using: MacOS 10.11.3 (15D21) Studio 4.5.0.201602170821 Ti SDK 5.2.1.v20160316113102 Appc NPM 4.2.4-2 Appc CLI 5.2.1-12 Alloy 1.7.35 Xcode 7.2.1 (7C1002) Likely, it was resolved with one of the several debugger tickets between the filing of this ticket and the 5.2.0 release.

JSON Source