I definitely can start a debug session at any given time.
Simple question is whether you have set a valid ScriptOrigin when compiling 
the string. I remember having trouble by not setting properly a valid 
protocol name for the parsed script.

El martes, 5 de mayo de 2020, 11:29:09 (UTC+2), toto ttt escribió:
>
> Hi everybody
>
> I am currently integrating v8-inspector with standalone embedded v8 
> application suing this code : https://github.com/hsharsha/v8inspector
> After a while, I've succeeded to debug in ChromeDevTools the following 
> simple scenario :
> Case1: Start the websocket communication between V8 and CDT and all the 
> necessary stuff for V8 inspector with the option 
> PauseOnNextJavascriptStatement
>            Create a V8 script
>            Compile the script
>            Run the script
>
> But another simple scenario is still ko, it's when I start the 
> communication between V8 and CDT after the script has been compiled
> Case2: Create a V8 script
>            Compile the script
>            Start the websocket communication between V8 and ... (idem)
>            Run the script
> Then in CDT, the script source is not displayed nor the source commands 
> (F8, ...)
> I guess it's related to the fact that in Case2, CDT never receives the 
> following message from V8 
> *       {"method":"Debugger.scriptParsed","params":{"scriptId":"6" ... *
> then it will not ask to V8 for the script source 
> *       {"id":6,"method":"Debugger.getScriptSource", ...*
>
> Does anyone knows if its possible to start a debug session with CDT after 
> the script to debug have been compiled
>
> Thank you in advance for your help.
> Aligre
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/faed49fb-5faf-4276-8919-cfedd3afa5d6%40googlegroups.com.

Reply via email to