[TIMOB-5488] iOS: Debugger: Breakpoint conditions with failures should report an error in the debugger console, but still break
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-03-26T20:12:47.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | Release 2.0.0, Sprint 2012-07 |
Components | iOS |
Labels | n/a |
Reporter | Natalie Huynh |
Assignee | Stephen Tramer |
Created | 2011-10-10T10:17:35.000+0000 |
Updated | 2012-03-28T09:32:10.000+0000 |
Description
Steps to Reproduce:
1. Copy the following code to app.js
)"
for (var i = 0; i < 10; i++) {
Ti.API.debug("Hello: " + i);
}
2. Set breakpoint on the Ti.API.debug statement
3. Right click on the breakpoint and go to Breakpoint Properties...
4. Select Enable Condition
5. Enter i ==
6. Run in debug
Actual:
Breakpoint hits, error not printed to console
Expected:
Breakpoint should hit with exception
Console should print "ERROR Compilation produced 3 syntax errors. (
Bug filed against android initially, fixed on android.
Fixed as part of TIMOB-8313, moving into appropriate sprint
Tested with 2.0.0.v20120328000206 on Mac 10.6.8 returns: [ERROR] Breakpoint expression error: (function(){return
i == }
)();