Hi, Ben. I think i misunderstand the dev tools. when i enter ctrl + p and input a js file name, dev tools will emit Debugger.getScriptSource.
在2022年10月2日星期日 UTC+8 16:00:11<theratliter theratliter> 写道: > It seems the page can not load the picture, please see here > <https://11111-1252105172.cos.ap-shanghai.myqcloud.com/WechatIMG865.png>. > > 在2022年10月2日星期日 UTC+8 15:54:17<theratliter theratliter> 写道: > >> Thanks for your help. This is the messages dev tool show. The problem is >> when the dev tools receive Debugger.scriptParsed message, it do not send a >> Debugger.getScriptSource message to my inspector server. >> [image: WechatIMG865.png] >> >> 在2022年10月1日星期六 UTC+8 17:22:25<Ben Noordhuis> 写道: >> >>> On Sat, Oct 1, 2022 at 1:14 AM theratliter theratliter >>> <thera...@gmail.com> wrote: >>> > >>> > Hi, i am trying to write an inspector server by V8 inspector APIs, but >>> chrome dev tool do not emit 'Debugger.getScriptSource' request to my >>> inspector server when dev tool get a 'Debugger.scriptParsed' push event. >>> Does anybody know know about this ? Thanks ! >>> >>> Assuming you're using v8-inspector.h, not re-implementing the wire >>> protocol: you don't normally have to handle getScriptSource requests >>> yourself, V8 handles them for you. >>> >> -- -- 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/eeec87e0-2b1e-493b-9233-a7c6e41b0eebn%40googlegroups.com.