5 Replies Latest reply on Jan 21, 2016 12:53 PM by pixxxel schubser

    How can I get the number of the line which is causing the error?

    oliverIntergrafika Level 2

      If I try to catch an error with try-catch....


      The e object which is containing the text error message is not storing the line number where the errror occured.


      catch ( e )
          $.writeln( e.toSource() ) ;

      We are in a html extension panel, not in extendscript toolkit.


      The result is: (new ReferenceError ("syntax is undefined"))


      It would be tremendously useful if we could get the line num.