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

Function handleDebuggerPaused

deps/v8/test/inspector/debugger/asm-js-stack.js:57–69  ·  view source on GitHub ↗
(messageObject)

Source from the content-addressed store, hash-verified

55}
56
57function handleDebuggerPaused(messageObject)
58{
59 InspectorTest.log('Paused on \'debugger;\'');
60 logStackTrace(messageObject);
61 InspectorTest.log('Getting v8-generated stack trace...');
62 var topFrameId = messageObject.params.callFrames[0].callFrameId;
63 Protocol.Debugger
64 .evaluateOnCallFrame({
65 callFrameId: topFrameId,
66 expression: '(new Error("getting stack trace")).stack'
67 })
68 .then(callbackEvaluate);
69}
70
71function callbackEvaluate(response)
72{

Callers

nothing calls this directly

Calls 4

evaluateOnCallFrameMethod · 0.80
logStackTraceFunction · 0.70
logMethod · 0.45
thenMethod · 0.45

Tested by

no test coverage detected