MCPcopy Index your code
hub / github.com/nodejs/node / SetupGetPossibleBreakpoints

Function SetupGetPossibleBreakpoints

deps/v8/test/js-perf-test/Inspector/debugger.js:32–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31let scriptId;
32function SetupGetPossibleBreakpoints() {
33 Setup();
34 let expression = '';
35 for (let i = 0; i < 20; ++i) {
36 expression += `function foo${i}(){
37 if (a) {
38 return true;
39 } else {
40 return false;
41 }
42 }\n`;
43 };
44 listener = function(msg) {
45 if (msg.method === 'Debugger.scriptParsed') {
46 scriptId = msg.params.scriptId;
47 listener = null;
48 }
49 };
50 SendMessage('Runtime.evaluate', {expression});
51}
52
53function DebuggerGetPossibleBreakpoints() {
54 SendMessage(

Callers

nothing calls this directly

Calls 2

SendMessageFunction · 0.85
SetupFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…