Project: appceleratorstudio
Issue TISTUD-3981: Alloy Debugger: wrong behavior setting breakpoints on functions under Android
h5. Problem description Debugger is not correctly handling a breakpoint set for a function in the controller .js file h5. Steps to reproduce Android OS tested: 2.3.6 Nexus One, Android emulator See the sample attached. h6. index.xml {code}	Hello, World	{code} h6. index.js {code} function doClick(e) {	alert($.label.text); } $.index.open(); {code} 1. Set a BreakPpoint at line 3 for the'alert($.label.text);' 2. Debug the App on Android Result: App starts but the breakpoint is immediately triggered before displaying the Window (so just the splashscreen is displayed) and without having to click on the label. From the Debug tab, it looks the behavior is wrong and that actually the wrong line is highlighted, focusing on the 'doClick() function' instead of the 'alert' function inside. See the two screenshots, one for Android (wrong behavior), one for iOS (correct one, being triggered only when clicking on the sample 'label' for displaying the alert, not when starting the App). 3. Click to go past the breakpoint. Manually click on the app label to trigger the alert again. Result: breakpoint is now ignored. Alert is being displayed. Attaching Debugger log, where there is this line (not present in the iOS debugger log): {code} [57:33.986] Recv: >1364417853985*!unknown option < {code} Attaching Android build.log too
Story points: 8