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

Side by Side Diff: include/v8-debug.h

Issue 262533009: Revert "Trigger exception debug event for promises at the throw site." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « no previous file | src/debug.h » ('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 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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 #ifndef V8_V8_DEBUG_H_ 5 #ifndef V8_V8_DEBUG_H_
6 #define V8_V8_DEBUG_H_ 6 #define V8_V8_DEBUG_H_
7 7
8 #include "v8.h" 8 #include "v8.h"
9 9
10 /** 10 /**
11 * Debugger support for the V8 JavaScript engine. 11 * Debugger support for the V8 JavaScript engine.
12 */ 12 */
13 namespace v8 { 13 namespace v8 {
14 14
15 // Debug events which can occur in the V8 JavaScript engine. 15 // Debug events which can occur in the V8 JavaScript engine.
16 enum DebugEvent { 16 enum DebugEvent {
17 Break = 1, 17 Break = 1,
18 Exception = 2, 18 Exception = 2,
19 NewFunction = 3, 19 NewFunction = 3,
20 BeforeCompile = 4, 20 BeforeCompile = 4,
21 AfterCompile = 5, 21 AfterCompile = 5,
22 ScriptCollected = 6, 22 ScriptCollected = 6,
23 BreakForCommand = 7 23 PendingExceptionInPromise = 7,
24 BreakForCommand = 8
24 }; 25 };
25 26
26 27
27 class V8_EXPORT Debug { 28 class V8_EXPORT Debug {
28 public: 29 public:
29 /** 30 /**
30 * A client object passed to the v8 debugger whose ownership will be taken by 31 * A client object passed to the v8 debugger whose ownership will be taken by
31 * it. v8 is always responsible for deleting the object. 32 * it. v8 is always responsible for deleting the object.
32 */ 33 */
33 class ClientData { 34 class ClientData {
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 }; 314 };
314 315
315 316
316 } // namespace v8 317 } // namespace v8
317 318
318 319
319 #undef EXPORT 320 #undef EXPORT
320 321
321 322
322 #endif // V8_V8_DEBUG_H_ 323 #endif // V8_V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698