[TIMOB-18335] iOS: Breakpoint doesn't hit when there is a breakpoint enabled condition
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-01-08T10:07:40.000+0000 |
Affected Version/s | Release 3.5.0 |
Fix Version/s | Release 3.5.0, Release 4.0.0 |
Components | iOS |
Labels | qe-3.5.0, regression |
Reporter | Kajenthiran Velummaylum |
Assignee | Pedro Enrique |
Created | 2015-01-07T05:36:17.000+0000 |
Updated | 2015-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
Please review.
Master: https://github.com/appcelerator/titanium_mobile/pull/6546 3.5.x: https://github.com/appcelerator/titanium_mobile/pull/6547
Tested and it works now. All 3 PRs merged.
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)