I'm using IActiveScripteSite::OnScriptError to handle javascript
syntax and runtime errors. I'm wondering if there is any way to get
the stack trace from this handler. I tried to query the
IActiveScriptError for IActiveScriptErrorDebug and then call
GetStackFrame() but unfortunately the stack frame is null. I am aware
of the option to implement IActiveScriptSiteDebug and handle
OnScriptErrorDebug but this requires creating an IDebugApplication and
the only way I know of doing this is with PDM. Since pdm.dll is not
distributable I cannot use it with my application.
Any suggestions on how this can be achieved? Is there any way to get
some kind of context object from OnScriptError?
Thanks in advance,
Dan