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

Android: Debugger: Ti.include: debugger skips Ti.include() call

    Details

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

      Titanium Studio: 2.1.2, 3.0.0
      Titanium SDK: 2.1.2.GA, 3.0.0.v20120917105713
      OS: Mountain Lion 10.8
      Xcode: 4.4/4.5
      Devices Tested: Android Emulator 2.2/2.3.3

      Description

      Debugger skips Ti.include() call.

      Works on iOS.

      For instance, if the debugger steps into this Ti.include() call:

      Ti.include('myinclude.js');
      

      The line will be skipped by the debugger.

      Attached sample project 'MyProject' (includes js files and breakpoint at line 1).
      Attached separate js files (app.js, myrequire.js, and myinclude.js) for reference (same as in 'MyProject.zip').
      Attached debugger protocol log: 'androiddebugger.log'
      Attached studio/console logs: 'android_debugger_console_log.txt' and 'android_debugger_studio_log.txt' for reference.

      Steps to Reproduce:

      1. Run MyProject in debugger.
      2. Step into every line in app.js, and step over every line in myrequire.js and myinclude.js.

      Actual Result:

      The Ti.include() call in app.js is skipped by the debugger when 'step-into' is called.

      Expected Result:

      The Ti.include js code should be hit by the debugger (i.e., the debugger enters myinclude.js).

        Attachments

        1. android_debugger_console_log.txt
          35 kB
        2. android_debugger_studio_log.txt
          21 kB
        3. androiddebugger.log
          10 kB
        4. app.js
          0.1 kB
        5. myinclude.js
          0.2 kB
        6. MyProject.zip
          2.98 MB
        7. myrequire.js
          0.2 kB

          Issue Links

            Activity

              People

              • Assignee:
                emerriman Eric Merriman
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration