Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-8636

iOS Debugger: JSCore: Debug on iOS ignores all breakpoints on device

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: Release 4.8.0
    • Fix Version/s: Release 5.0.0
    • Component/s: Debugging
    • Labels:
      None
    • Environment:

      Description

      Description
      When an app is debugged on an iOS device, it executes to completion without stopping at any break points. The issue occurs with <use-jscore-framework> as true. On the simulator, the app does halt at each breakpoint.

      Steps to reproduce
      1. Create a classic app, and insert a few breakpoints.
      2. Build and debug on an iOS device.
      3. Observe that app executes without halting at any break point.

      Result
      The app should halt at all break points.

      Expected Result
      The app does not stop at any breakpoint.

      Sample Code
      The bug was discovered while executing tests. This was the code that was run (note that are 2 files):

      // app.js
      console.log('console LOG');
      console.log(['console LOG', 'ARG1', 'ARG2']);
      console.debug('console DEBUG');
      console.debug(['console DEBUG', 'ARG1', 'ARG2']);
      Ti.API.info('Ti.include.module.js'); //breakpoint here
      Ti.include('module.js');
      Ti.API.info('require.module');  //breakpoint here
      require('module');
       
      // The following code are the contents of module.js:
       
      var a = 1; 
      Ti.API.info('a=1');
      var b = 2; 
      Ti.API.info('b=2');
      var c = 3; 
      Ti.API.info('c=3');
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ppedduri Prashanth Pedduri (Inactive)
                Reporter:
                amukherjee Abir Mukherjee
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: