Get ( ScriptLineNumber )

Idea created by abdenterprises on Mar 30, 2018
    Active
    Score8
    • zhava
    • Hemant Kumar Patel
    • abdenterprises
    • damienkelly
    • jbante
    • mike_wallace_rcc
    • dsburton@mac.com
    • Markus Schneider


    Would like to have the ability to get current script line number.

     

    Do Something [ ]

    Set Variable [ $v ; Value: JSONSetElement ( $errors ; [ Get ( ScriptLineNumber ) - 1 ; Get ( LastError) ; JSONNumber ] ) ]

     

    This would allow dynamic debugging of script errors AND allow passing them back to the calling script.