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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} | 508 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} |
520 | 509 |
521 /** | 510 /** |
522 * @interface | 511 * @interface |
523 * @extends {Mirror} | 512 * @extends {Mirror} |
524 */ | 513 */ |
525 function ContextMirror() {} | 514 function ContextMirror() {} |
526 | 515 |
527 /** @return {string|undefined} */ | 516 /** @return {string|undefined} */ |
528 ContextMirror.prototype.data = function() {} | 517 ContextMirror.prototype.data = function() {} |
OLD | NEW |