Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-11182

Android: Debugger: breakpoints at line 1 skipped and resumed at next statement

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 2.1.2, Release 3.0.0
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      Titanium SDK: 2.1.2.GA, 3.0.0.v20120926130913
      Titanium Studio: 3.0.0.201209252419
      OS: Mountain Lion 10.8.2
      Devices Tested: Android Emulator 2.3.3

      Description

      Breakpoints at line 1 are not hit by debugger, but next statement is instead.

      This is not a regression. This does not occur in iOS.

      Steps to Reproduce:

      1. Debug with code (manually enter breakpoint as per comment):

      var x = 0; // breakpoint
       
      function y(z){
      	return z + 1;
      }
       
      var q = y(1);
       
      alert('q == ' + q);
      

      Actual Result:

      Line 7 is hit by debugger instead of line 1.

      Expected Result:

      Line 1 should be hit by debugger. The workaround is to move all code down one line, so the code begins at line 2, and the breakpoint is at line 2.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-14467
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration