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

Side by Side Diff: test/debugger/test-api.js

Issue 2531543002: [debug] mark more unused debug API as deprecated. (Closed)
Patch Set: . Created 4 years 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
« no previous file with comments | « test/cctest/test-debug.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "use strict"; 5 "use strict";
6 6
7 // If true, prints all messages sent and received by inspector. 7 // If true, prints all messages sent and received by inspector.
8 const printProtocolMessages = false; 8 const printProtocolMessages = false;
9 9
10 // The active wrapper instance. 10 // The active wrapper instance.
(...skipping 13 matching lines...) Expand all
24 // using nextMessageId. 24 // using nextMessageId.
25 this.nextMessageId = 0; 25 this.nextMessageId = 0;
26 26
27 // The listener method called on certain events. 27 // The listener method called on certain events.
28 this.listener = undefined; 28 this.listener = undefined;
29 29
30 // TODO(jgruber): Determine which of these are still required and possible. 30 // TODO(jgruber): Determine which of these are still required and possible.
31 // Debug events which can occur in the V8 JavaScript engine. 31 // Debug events which can occur in the V8 JavaScript engine.
32 this.DebugEvent = { Break: 1, 32 this.DebugEvent = { Break: 1,
33 Exception: 2, 33 Exception: 2,
34 NewFunction: 3, 34 AfterCompile: 3,
35 BeforeCompile: 4, 35 CompileError: 4,
36 AfterCompile: 5, 36 AsyncTaskEvent: 5
37 CompileError: 6,
38 AsyncTaskEvent: 7
39 }; 37 };
40 38
41 // The different types of steps. 39 // The different types of steps.
42 this.StepAction = { StepOut: 0, 40 this.StepAction = { StepOut: 0,
43 StepNext: 1, 41 StepNext: 1,
44 StepIn: 2, 42 StepIn: 2,
45 StepFrame: 3, 43 StepFrame: 3,
46 }; 44 };
47 45
48 // The different types of scripts matching enum ScriptType in objects.h. 46 // The different types of scripts matching enum ScriptType in objects.h.
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 debug.instance = new DebugWrapper(); 832 debug.instance = new DebugWrapper();
835 debug.instance.enable(); 833 debug.instance.enable();
836 } 834 }
837 return debug.instance; 835 return debug.instance;
838 }}); 836 }});
839 837
840 Object.defineProperty(debug, 'ScopeType', { get: function() { 838 Object.defineProperty(debug, 'ScopeType', { get: function() {
841 const instance = debug.Debug; 839 const instance = debug.Debug;
842 return instance.ScopeType; 840 return instance.ScopeType;
843 }}); 841 }});
OLDNEW
« no previous file with comments | « test/cctest/test-debug.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698