qtscript - How to get current line number in Qt Script code? -


is there way obtain current line number in executing qt script, using objects , functions in it?

var linenumber = 1; try {     unexsistedvariable1 + unexsistedvariable2; //we have got number of line } catch(e) {     linenumber = e.linenumber; } 

Comments