Hi, my suggestions are: 1) to double check if the path to your sources is correct and accessible 2) put script source as parameter when you compile script in v8
#if defined(DEBUG) auto src = File::ReadText(filename); auto originName = "file://" + filename; v8::ScriptOrigin origin(ArgConverter::ConvertToV8String(isolate, originName)); script = v8::Script::Compile(getContext(), sourcePersistent.Get(isolate), &origin); #else script = v8::Script::Compile(getContext(), sourcePersistent.Get(isolate)); #endif // DEBUG пт, 12 апр. 2019 г. в 11:17, DaManuell <manuel.lecl...@gmail.com>: > I used CDT on CDT to record the WebSocket Traffic between Chrome and my > embedding app. > > Sent by Chrome to my app: > {"id":1,"method":"Profiler.enable"} > {"id":2,"method":"Runtime.enable"} > {"id":3,"method":"Debugger.enable"} > {"id":4,"method":"Debugger.setPauseOnExceptions","params":{"state":"none"}} > > {"id":5,"method":"Debugger.setAsyncCallStackDepth","params":{"maxDepth":32}} > {"id":6,"method":"Debugger.setBlackboxPatterns","params":{"patterns":[]}} > {"id":7,"method":"Runtime.runIfWaitingForDebugger"} > > Sent by my app to chrome: > {"id":1,"result":{}} > > {"method":"Runtime.executionContextCreated","params":{"context":{"id":1,"origin":"","name":"MyApp"}}} > {"id":2,"result":{}} > > {"method":"Debugger.scriptParsed","params":{"scriptId":"4","url":"func_add.js","startLine":0,"startColumn":0,"endLine":2,"endColumn":2,"executionContextId":1,"hash":"1445a7804cf3405670df7a539876752304d4fa3a","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false,"isModule":false,"length":37}} > {"id":3,"result":{"debuggerId":"(1FEE5CC1932E43F4AC090457F0333F66)"}} > {"id":4,"result":{}} > {"id":5,"result":{}} > {"id":6,"result":{}} > {"id":7,"result":{}} > > Chrome does not send the "Debugger.getScriptSource" request... > > Le jeudi 11 avril 2019 16:29:13 UTC+2, DaManuell a écrit : >> >> SO question: >> https://stackoverflow.com/questions/55629539/how-to-make-chrome-dev-tools-show-the-javascript-source >> > -- > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- -- 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. For more options, visit https://groups.google.com/d/optout.