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

New Post: Debug script

$
0
0
Hi,

I am using V8ScriptEngine java script engine for execution.
V8ScriptEngine scriptEngine = new V8ScriptEngine(V8ScriptEngineFlags.DisableGlobalMembers | V8ScriptEngineFlags.EnableDebugging, debuggingPort)
Debug point is set through V8 DebuggerProtocol(DebuggerProtocol ). I am not setting any break point to dynamically generated script. breakpoint is set to main script.

main script:-
var a=10;
var b=20
var c=a+b;
ScriptLib.LoadScript("sample.js");
var d=a+b+c;
dynamically loaded script("sample.js") :-
var d=25;
var e=35;
var f=d*e;
ScriptLib is a HostObject added to an engine, executes script on same engine.


Thank you.

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>