OLD | NEW |
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 #ifndef V8_DEBUG_INTERFACE_TYPES_H_ | 5 #ifndef V8_DEBUG_INTERFACE_TYPES_H_ |
6 #define V8_DEBUG_INTERFACE_TYPES_H_ | 6 #define V8_DEBUG_INTERFACE_TYPES_H_ |
7 | 7 |
8 #include <cstdint> | 8 #include <cstdint> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 std::string disassembly; | 67 std::string disassembly; |
68 OffsetTable offset_table; | 68 OffsetTable offset_table; |
69 }; | 69 }; |
70 | 70 |
71 enum PromiseDebugActionType { | 71 enum PromiseDebugActionType { |
72 kDebugPromiseCreated, | 72 kDebugPromiseCreated, |
73 kDebugEnqueueAsyncFunction, | 73 kDebugEnqueueAsyncFunction, |
74 kDebugEnqueuePromiseResolve, | 74 kDebugEnqueuePromiseResolve, |
75 kDebugEnqueuePromiseReject, | 75 kDebugEnqueuePromiseReject, |
76 kDebugPromiseCollected, | |
77 kDebugWillHandle, | 76 kDebugWillHandle, |
78 kDebugDidHandle, | 77 kDebugDidHandle, |
79 }; | 78 }; |
80 | 79 |
81 enum BreakLocationType { | 80 enum BreakLocationType { |
82 kCallBreakLocation, | 81 kCallBreakLocation, |
83 kReturnBreakLocation, | 82 kReturnBreakLocation, |
84 kDebuggerStatementBreakLocation, | 83 kDebuggerStatementBreakLocation, |
85 kCommonBreakLocation | 84 kCommonBreakLocation |
86 }; | 85 }; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 virtual void Time(const ConsoleCallArguments& args) {} | 133 virtual void Time(const ConsoleCallArguments& args) {} |
135 virtual void TimeEnd(const ConsoleCallArguments& args) {} | 134 virtual void TimeEnd(const ConsoleCallArguments& args) {} |
136 virtual void TimeStamp(const ConsoleCallArguments& args) {} | 135 virtual void TimeStamp(const ConsoleCallArguments& args) {} |
137 virtual ~ConsoleDelegate() = default; | 136 virtual ~ConsoleDelegate() = default; |
138 }; | 137 }; |
139 | 138 |
140 } // namespace debug | 139 } // namespace debug |
141 } // namespace v8 | 140 } // namespace v8 |
142 | 141 |
143 #endif // V8_DEBUG_INTERFACE_TYPES_H_ | 142 #endif // V8_DEBUG_INTERFACE_TYPES_H_ |
OLD | NEW |