Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18255] iOS: Step Back (F7) does not return the execution to parent method

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-12-18T21:53:43.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sRelease 3.5.0
ComponentsiOS
Labelsqe-manualtest
ReporterPraveen Innamuri
AssigneePedro Enrique
Created2014-12-18T01:53:37.000+0000
Updated2015-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.

Comments

  1. Kajenthiran Velummaylum 2015-01-02

    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)

JSON Source