Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Side by Side Diff: webkit/glue/devtools/js/inspector_controller.js

Issue 99185: Pause and show call stack on exceptions (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 Stub implementation of the InspectorController API. 6 * @fileoverview Stub implementation of the InspectorController API.
7 * This stub class is supposed to make front-end a standalone WebApp 7 * This stub class is supposed to make front-end a standalone WebApp
8 * that can be implemented/refactored in isolation from the Web browser 8 * that can be implemented/refactored in isolation from the Web browser
9 * backend. Clients need to subclass it in order to wire calls to the 9 * backend. Clients need to subclass it in order to wire calls to the
10 * non-stub backends. 10 * non-stub backends.
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 /** 282 /**
283 * Tells backend to pause in the debugger. 283 * Tells backend to pause in the debugger.
284 */ 284 */
285 devtools.InspectorController.prototype.pauseInDebugger = function() { 285 devtools.InspectorController.prototype.pauseInDebugger = function() {
286 // Does nothing in stub. 286 // Does nothing in stub.
287 }; 287 };
288 288
289 289
290 /** 290 /**
291 * Tells backend to pause in the debugger on the exceptions. 291 * @return {boolean} True iff the debugger will pause execution on the
292 * exceptions.
292 */ 293 */
293 devtools.InspectorController.prototype.pauseOnExceptions = function() { 294 devtools.InspectorController.prototype.pauseOnExceptions = function() {
294 // Does nothing in stub. 295 // Does nothing in stub.
296 return false;
297 };
298
299
300 /**
301 * Tells whether to pause in the debugger on the exceptions or not.
302 * @param {boolean} value True iff execution should be stopped in the debugger
303 * on the exceptions.
304 */
305 devtools.InspectorController.prototype.setPauseOnExceptions = function(value) {
295 }; 306 };
296 307
297 308
298 /** 309 /**
299 * Tells backend to resume execution. 310 * Tells backend to resume execution.
300 */ 311 */
301 devtools.InspectorController.prototype.resumeDebugger = function() { 312 devtools.InspectorController.prototype.resumeDebugger = function() {
302 }; 313 };
303 314
304 315
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 devtools.InspectorController.prototype.stepOutOfFunctionInDebugger = 391 devtools.InspectorController.prototype.stepOutOfFunctionInDebugger =
381 function() {}; 392 function() {};
382 393
383 394
384 /** 395 /**
385 * Tells backend to step over the statement in debugger. 396 * Tells backend to step over the statement in debugger.
386 */ 397 */
387 devtools.InspectorController.prototype.stepOverStatementInDebugger = 398 devtools.InspectorController.prototype.stepOverStatementInDebugger =
388 function() { 399 function() {
389 }; 400 };
OLDNEW
« no previous file with comments | « webkit/glue/devtools/js/debugger_agent.js ('k') | webkit/glue/devtools/js/inspector_controller_impl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698