I do not think this is possible, because the basic mechanism that is considered working is actually out of date . For security reasons, browsers no longer pass the error object to Javascript.
However, since you are working with a custom programming language that is compiled in Javascript, you know what the structure of the resulting script will be. You can also enter operator counts as a result of Javascript, so you can always find out what has been done in the past. Something like:
function(1); function(2); function(3);
can be translated as:
var __column=0; var __line=0; function(1); __column+=12; function(2); __line++; __column=0; function(3); __line++; __column=0;
Where 12 is "function(n);".length . Of course, the resulting code is ugly, but you can enable this behavior with a debug flag or something.
Siderite zackwehdex
source share