OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium 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 /** | 5 /** |
6 * @fileoverview DevTools' implementation of the InspectorController API. | 6 * @fileoverview DevTools' implementation of the InspectorController API. |
7 */ | 7 */ |
8 goog.require('devtools.InspectorController'); | 8 goog.require('devtools.InspectorController'); |
9 | 9 |
10 goog.provide('devtools.InspectorControllerImpl'); | 10 goog.provide('devtools.InspectorControllerImpl'); |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 devtools.tools.getDebuggerAgent().stepOutOfFunction(); | 116 devtools.tools.getDebuggerAgent().stepOutOfFunction(); |
117 }; | 117 }; |
118 | 118 |
119 | 119 |
120 devtools.InspectorControllerImpl.prototype.stepOverStatementInDebugger = | 120 devtools.InspectorControllerImpl.prototype.stepOverStatementInDebugger = |
121 function() { | 121 function() { |
122 devtools.tools.getDebuggerAgent().stepOverStatement(); | 122 devtools.tools.getDebuggerAgent().stepOverStatement(); |
123 }; | 123 }; |
124 | 124 |
125 | 125 |
| 126 /** |
| 127 * @override |
| 128 */ |
| 129 devtools.InspectorControllerImpl.prototype.pauseOnExceptions = function() { |
| 130 return devtools.tools.getDebuggerAgent().pauseOnExceptions(); |
| 131 }; |
| 132 |
| 133 |
| 134 /** |
| 135 * @override |
| 136 */ |
| 137 devtools.InspectorControllerImpl.prototype.setPauseOnExceptions = function( |
| 138 value) { |
| 139 return devtools.tools.getDebuggerAgent().setPauseOnExceptions(value); |
| 140 }; |
| 141 |
| 142 |
126 var InspectorController = new devtools.InspectorControllerImpl(); | 143 var InspectorController = new devtools.InspectorControllerImpl(); |
OLD | NEW |