[TIMOB-18253] iOS: Debugger crashed when the variable value is changed to random object
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-12-18T21:32:33.000+0000 |
Affected Version/s | Release 3.5.0 |
Fix Version/s | Release 3.5.0 |
Components | iOS |
Labels | qe-manualtest |
Reporter | Praveen Innamuri |
Assignee | Pedro Enrique |
Created | 2014-12-18T01:47:57.000+0000 |
Updated | 2015-01-06T07:53:55.000+0000 |
Description
- Put a breakpoint at line 3 in the below code.
function doClick(e) {
var txt = "labelTxt";
alert(txt);
print(e);
}
function print(e) {
Ti.API.info('info');
Ti.API.warn('warn');
Ti.API.error('error');
}
$.index.open();
- Debug the app onto iOS device or simulator.
- Click on the label, so that the thread suspends its execution at line 3.
- Now, change the value of 'txt' to "changed". Press F8 (Resume). The dialog shows the message "changed". It works !
Click on the label again to suspend the thread at the same line. Now, change the value of 'txt' to _changed_. Press F8 (Resume). The debugger/app will crash.
Verified the Fix. App never crashed when repeating this procedure many times ( 10 times) . Hence closing the ticket. Test case is added in TCMS. Test Environment: Titanium SDK: 3.5.0.v20141222103320 Appc-Studio: 3.4.1 GA Titanium CLI: 3.4.1 GA Alloy : 1.5.1 GA Xcode : 6.1 OS: OSX 10.10.1 Device : iPhone 6plus (iOS 8.1)