Project: titanium
Issue TIMOB-11172: iOS: Debugger: breakpoint at unassigned variable declaration skipped
Breakpoints at unassigned variable declarations are skipped. For example: {code} var deadVar1; // breakpoint Ti.API.info('Global Variables Defined!'); (function(){	var deadVar2; // breakpoint	Ti.API.info('Anonymous Function Called!'); })(); alert('App Exited!'); {code} Running this code in debug mode will skip all breakpoints. This does not occur in Android, this is a parity issue. Steps to Reproduce: 1. Run code in debug (manually insert breakpoints as per code comments): {code} var deadVar1; // breakpoint Ti.API.info('Global Variables Defined!'); (function(){	var deadVar2; // breakpoint	Ti.API.info('Anonymous Function Called!'); })(); alert('App Exited!'); {code} Actual Result: App exits without hitting any breakpoints. Expected Result: The first breakpoint should be hit and pressing 'Resume' should hit the next breakpoint. Here is the expected console log for the sample code: {code} [INFO] Global Variables Defined! [INFO] Anonymous Function Called! {code}
Story points: 1