Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Line numbers in stacktraces

0
0
Hello ZoneRunner,

This requires me to wrap the loaded module code in a function declaration.

Can you say a bit more about (or provide a sample of) how you accomplish this wrapping? Do you take the module's code and splice it into a larger string that you then execute? Do the modules have names (or other identifiers), and if so, how are they related to source code files for which you need to see correct line numbers?

Thanks!

Viewing all articles
Browse latest Browse all 2297