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

New Post: Retrieving javascript line index during execution

0
0
Hi again,

In 5.4.0 V8ScriptEngine.Script.getStackTrace() throws
RuntimeBinderException: 'Microsoft.ClearScript.V8.V8ScriptItem' does not contain a definition for 'EngineInternal'

Actually exceptions like that are often thrown and handled internally during C# dynamic operations, with or without ClearScript's involvement. If you see an exception like that in the debugger, you should be able to continue safely.

Something related to V8 debugging has changed in this version though so beware when upgrading (our custom debugger which was working fine on 5.4.0 doesn't work anymore)

ClearScript 5.4.1 does have a new V8 debug agent. The old one was built into V8, but the V8 team removed it a while back. If you're encountering issues with the new one, we'd love to hear the details.

Thanks!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images