I have a script host which runs JScript. There are some cases when I have to trace if a method of my exposed objects is called and from where it got called. For that I need to determine where is the script engine currently inside my object's method.
It should be the same information like when my site's OnScriptError is called: source line source char and the cookie which I passed to ParseScriptText.
Is it possible to obtain this information without generating an error?