Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18335] iOS: Breakpoint doesn't hit when there is a breakpoint enabled condition

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-01-08T10:07:40.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sRelease 3.5.0, Release 4.0.0
ComponentsiOS
Labelsqe-3.5.0, regression
ReporterKajenthiran Velummaylum
AssigneePedro Enrique
Created2015-01-07T05:36:17.000+0000
Updated2015-01-08T18:26:06.000+0000

Description

Breakpoint never hits when there is a breakpoint enable condition.

It's a regression since it works fine in 3.4.1 GA

Steps To Reproduce

1. Create a classic App 2. Replace the following code to app.js
for (var i = 0; i < 10; i++) { 
Ti.API.debug("Hello: " + i); 
}
3. Set breakpoint on the Ti.API.debug statement 4. Right click on the breakpoint and go to Breakpoint Properties... 5. Select Enable Condition 6. Enter i ==2 7. Run in debug

Expected Result

Breakpoint should hit when i==2. It happens in 3.4.1 GA

Actual Result

Breakpoint never hit. Debug session ends.

Comments

  1. Ingo Muschenetz 2015-01-07

    Please review.
  2. Pedro Enrique 2015-01-07

    Master: https://github.com/appcelerator/titanium_mobile/pull/6546 3.5.x: https://github.com/appcelerator/titanium_mobile/pull/6547
  3. Chee Kiat Ng 2015-01-08

    Tested and it works now. All 3 PRs merged.
  4. Wilson Luu 2015-01-08

    Closing ticket as fixed. Verified if you create a conditional breakpoint, the debugger will stop at the breakpoint. Tested on: Appcelerator Studio, build: 3.4.1.201410281743 SDK build: 3.5.0.v20150108020917 CLI: 3.4.1 Alloy: 1.5.1 Xcode: 6.2 beta 3 Devices: iphone 6 (8.1)

JSON Source