Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1140

Windows: The path format for app.js is different from controller files in sourcemap

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Alloy 1.5.0
    • Fix Version/s: Alloy 1.6.0
    • Component/s: Appcelerator Studio
    • Labels:
      None
    • Environment:

      Windows

    • Story Points:
      8
    • Sprint:
      2014 Sprint 20 Alloy

      Description

      The sourcemap contains different source location path format for app.js file compared to controller files on Windows platform.

      The map file for app.js is :

      "version":3,"file":"Resources/android/app.js","sources":["Resources/android/app.js"]
      

      The map file for index.js is :

      "version":3,"file":"Resources\\alloy\\controllers\\index.js","sources":["Resources\\alloy\\controllers\\index.js","app\\controllers\\index.js"]
      

      Due to the difference of path formats, Studio fails to parse the paths and the debugger fails to stop at the expected breakpoints.

      We need to investigate the difference in the path generation and ideally, in order to handle the paths consistently across all platforms, it might be better to have the paths in unix format.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skypanther Tim Poulsen
                Reporter:
                pinnamuri Praveen Innamuri (Inactive)
                Reviewer:
                Feon Sua Xin Miao
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration