Details

    • Type: Story
    • Status: Closed
    • Priority: Medium
    • Resolution: Won't Fix
    • Affects Version/s: Titanium Studio 1.0.5
    • Fix Version/s: None
    • Component/s: Editor
    • Environment:

      Mac OSX 10.6.8 & 10.7, Windows 7, Titanium Studio build: 1.0.5.201108261858, SDK 1.8.0.v20110828131421

      Description

      1) Create a new project
      2) Open app.js and create a unassigned variable with out the 'var' keyword. For example 'asdf;'.

      Note: In JavaScript, this will cause an error. Either declaring it with a the 'var' keyword or assigning it a value will not cause an error (even though it is bad practice to not use the 'var' keyword).

      Expected result:
      Studio should recognize this as a syntax error in JavaScript and should indicate this error as it does other errors.
      See attached screenshot for a comparison on how Eclipse would handle a similar Java syntax error.

      Actual result:
      No error is shown.

      3) Run the project.

      Expected result:
      There should be some kind of indication of an error in the console output.

      Actual result:
      There is no indication of an error in the console until the application loads on the simulator.
      Application launches to simulator and gives a application error (iOS) or runtime error (android) indicating the line in the code where the error is.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ingo Ingo Muschenetz
                Reporter:
                avaghti Alan Vaghti
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: