()
| 30 | |
| 31 | let scriptId; |
| 32 | function 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 | |
| 53 | function DebuggerGetPossibleBreakpoints() { |
| 54 | SendMessage( |
nothing calls this directly
no test coverage detected
searching dependent graphs…