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/874fa74f-5c2d-4392-b8fc-41936e73c425%40googlegroups.com.

Reply via email to