(messageObject)
| 55 | } |
| 56 | |
| 57 | function 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 | |
| 71 | function callbackEvaluate(response) |
| 72 | { |
nothing calls this directly
no test coverage detected