[TIMOB-18255] iOS: Step Back (F7) does not return the execution to parent method
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-12-18T21:53:43.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:53:37.000+0000 |
Updated | 2015-01-02T07:31:09.000+0000 |
Description
- Put a breakpoint at lines 3, 9 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/simulator.
- Click on the label to suspend the app at the expected breakpoints.
- When the thread is suspended at line 9, try to step back to the parent method using F7 (Step Back) in debug perspective.
The debugger suspends indicating that stepping in, instead of going back to parent method. The behavior is working good in _master_ branch, but not for 3_5_X branch.
Verified the Step Back feature with given code. It works as expected. Hence closing the ticket. 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)