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

Side by Side Diff: src/debug/debug.js

Issue 2546473008: [debug] Partial reland of debug API removal (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 | « src/debug/debug.cc ('k') | src/inspector/v8-debugger.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 (function (global, utils) { 5 (function (global, utils) {
6 "use strict"; 6 "use strict";
7 7
8 // ---------------------------------------------------------------------------- 8 // ----------------------------------------------------------------------------
9 // Imports 9 // Imports
10 10
(...skipping 25 matching lines...) Expand all
36 36
37 // Regular expression to skip "crud" at the beginning of a source line which is 37 // Regular expression to skip "crud" at the beginning of a source line which is
38 // not really code. Currently the regular expression matches whitespace and 38 // not really code. Currently the regular expression matches whitespace and
39 // comments. 39 // comments.
40 var sourceLineBeginningSkip = /^(?:\s*(?:\/\*.*?\*\/)*)*/; 40 var sourceLineBeginningSkip = /^(?:\s*(?:\/\*.*?\*\/)*)*/;
41 41
42 // Debug events which can occour in the V8 JavaScript engine. These originate 42 // Debug events which can occour in the V8 JavaScript engine. These originate
43 // from the API include file debug.h. 43 // from the API include file debug.h.
44 Debug.DebugEvent = { Break: 1, 44 Debug.DebugEvent = { Break: 1,
45 Exception: 2, 45 Exception: 2,
46 NewFunction: 3, 46 AfterCompile: 3,
47 BeforeCompile: 4, 47 CompileError: 4,
48 AfterCompile: 5, 48 AsyncTaskEvent: 5 };
49 CompileError: 6,
50 AsyncTaskEvent: 7 };
51 49
52 // Types of exceptions that can be broken upon. 50 // Types of exceptions that can be broken upon.
53 Debug.ExceptionBreak = { Caught : 0, 51 Debug.ExceptionBreak = { Caught : 0,
54 Uncaught: 1 }; 52 Uncaught: 1 };
55 53
56 // The different types of steps. 54 // The different types of steps.
57 Debug.StepAction = { StepOut: 0, 55 Debug.StepAction = { StepOut: 0,
58 StepNext: 1, 56 StepNext: 1,
59 StepIn: 2, 57 StepIn: 2,
60 StepFrame: 3 }; 58 StepFrame: 3 };
(...skipping 2405 matching lines...) Expand 10 before | Expand all | Expand 10 after
2466 "IsBreakPointTriggered", IsBreakPointTriggered, 2464 "IsBreakPointTriggered", IsBreakPointTriggered,
2467 "UpdateScriptBreakPoints", UpdateScriptBreakPoints, 2465 "UpdateScriptBreakPoints", UpdateScriptBreakPoints,
2468 ]); 2466 ]);
2469 2467
2470 // Export to liveedit.js 2468 // Export to liveedit.js
2471 utils.Export(function(to) { 2469 utils.Export(function(to) {
2472 to.GetScriptBreakPoints = GetScriptBreakPoints; 2470 to.GetScriptBreakPoints = GetScriptBreakPoints;
2473 }); 2471 });
2474 2472
2475 }) 2473 })
OLDNEW
« no previous file with comments | « src/debug/debug.cc ('k') | src/inspector/v8-debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698