OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |