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

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

Issue 249503002: Trigger debug event on not yet caught exception in promises. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: always use original exception Created 6 years, 8 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') | src/debug-debugger.js » ('J')
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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 25 matching lines...) Expand all
36 namespace v8 { 36 namespace v8 {
37 37
38 // Debug events which can occur in the V8 JavaScript engine. 38 // Debug events which can occur in the V8 JavaScript engine.
39 enum DebugEvent { 39 enum DebugEvent {
40 Break = 1, 40 Break = 1,
41 Exception = 2, 41 Exception = 2,
42 NewFunction = 3, 42 NewFunction = 3,
43 BeforeCompile = 4, 43 BeforeCompile = 4,
44 AfterCompile = 5, 44 AfterCompile = 5,
45 ScriptCollected = 6, 45 ScriptCollected = 6,
46 BreakForCommand = 7 46 UncaughtExceptionInPromise = 7,
47 BreakForCommand = 8
47 }; 48 };
48 49
49 50
50 class V8_EXPORT Debug { 51 class V8_EXPORT Debug {
51 public: 52 public:
52 /** 53 /**
53 * A client object passed to the v8 debugger whose ownership will be taken by 54 * A client object passed to the v8 debugger whose ownership will be taken by
54 * it. v8 is always responsible for deleting the object. 55 * it. v8 is always responsible for deleting the object.
55 */ 56 */
56 class ClientData { 57 class ClientData {
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 }; 337 };
337 338
338 339
339 } // namespace v8 340 } // namespace v8
340 341
341 342
342 #undef EXPORT 343 #undef EXPORT
343 344
344 345
345 #endif // V8_V8_DEBUG_H_ 346 #endif // V8_V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.h » ('j') | src/debug-debugger.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698