| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** @typedef {{ | 5 /** @typedef {{ |
| 6 type: string, | 6 type: string, |
| 7 object: !Object, | 7 object: !Object, |
| 8 name: (string|undefined), | 8 name: (string|undefined), |
| 9 startLocation: (!RawLocation|undefined), | 9 startLocation: (!RawLocation|undefined), |
| 10 endLocation: (!RawLocation|undefined) | 10 endLocation: (!RawLocation|undefined) |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 isAtReturn: boolean, | 54 isAtReturn: boolean, |
| 55 details: function():!JavaScriptCallFrameDetails | 55 details: function():!JavaScriptCallFrameDetails |
| 56 }} */ | 56 }} */ |
| 57 var JavaScriptCallFrame; | 57 var JavaScriptCallFrame; |
| 58 | 58 |
| 59 /** | 59 /** |
| 60 * @const | 60 * @const |
| 61 */ | 61 */ |
| 62 var Debug = {}; | 62 var Debug = {}; |
| 63 | 63 |
| 64 Debug.setBreakOnException = function() {} | |
| 65 | |
| 66 Debug.clearBreakOnException = function() {} | |
| 67 | |
| 68 Debug.setBreakOnUncaughtException = function() {} | |
| 69 | |
| 70 /** | |
| 71 * @return {undefined} | |
| 72 */ | |
| 73 Debug.clearBreakOnUncaughtException = function() {} | |
| 74 | |
| 75 Debug.clearStepping = function() {} | 64 Debug.clearStepping = function() {} |
| 76 | 65 |
| 77 Debug.clearAllBreakPoints = function() {} | 66 Debug.clearAllBreakPoints = function() {} |
| 78 | 67 |
| 79 /** @return {!Array<!Script>} */ | 68 /** @return {!Array<!Script>} */ |
| 80 Debug.scripts = function() {} | 69 Debug.scripts = function() {} |
| 81 | 70 |
| 82 /** | 71 /** |
| 83 * @param {number} scriptId | 72 * @param {number} scriptId |
| 84 * @param {number=} line | 73 * @param {number=} line |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 502 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
| 514 | 503 |
| 515 /** | 504 /** |
| 516 * @interface | 505 * @interface |
| 517 * @extends {Mirror} | 506 * @extends {Mirror} |
| 518 */ | 507 */ |
| 519 function ContextMirror() {} | 508 function ContextMirror() {} |
| 520 | 509 |
| 521 /** @return {string|undefined} */ | 510 /** @return {string|undefined} */ |
| 522 ContextMirror.prototype.data = function() {} | 511 ContextMirror.prototype.data = function() {} |
| OLD | NEW |