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_INSPECTOR_V8DEBUGGER_H_ | 5 #ifndef V8_INSPECTOR_V8DEBUGGER_H_ |
6 #define V8_INSPECTOR_V8DEBUGGER_H_ | 6 #define V8_INSPECTOR_V8DEBUGGER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "src/base/macros.h" | 10 #include "src/base/macros.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 void handleProgramBreak(v8::Local<v8::Context> pausedContext, | 105 void handleProgramBreak(v8::Local<v8::Context> pausedContext, |
106 v8::Local<v8::Object> executionState, | 106 v8::Local<v8::Object> executionState, |
107 v8::Local<v8::Value> exception, | 107 v8::Local<v8::Value> exception, |
108 v8::Local<v8::Array> hitBreakpoints, | 108 v8::Local<v8::Array> hitBreakpoints, |
109 bool isPromiseRejection = false, | 109 bool isPromiseRejection = false, |
110 bool isUncaught = false); | 110 bool isUncaught = false); |
111 static void v8DebugEventCallback(const v8::debug::EventDetails&); | 111 static void v8DebugEventCallback(const v8::debug::EventDetails&); |
112 v8::Local<v8::Value> callInternalGetterFunction(v8::Local<v8::Object>, | 112 v8::Local<v8::Value> callInternalGetterFunction(v8::Local<v8::Object>, |
113 const char* functionName); | 113 const char* functionName); |
114 void handleV8DebugEvent(const v8::debug::EventDetails&); | 114 void handleV8DebugEvent(const v8::debug::EventDetails&); |
115 void handleV8AsyncTaskEvent(v8::Local<v8::Context>, | 115 void handleV8AsyncTaskEvent(v8::Local<v8::Object> eventData); |
116 v8::Local<v8::Object> executionState, | |
117 v8::Local<v8::Object> eventData); | |
118 | 116 |
119 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Context>, | 117 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Context>, |
120 v8::Local<v8::Object>); | 118 v8::Local<v8::Object>); |
121 v8::Local<v8::Value> generatorObjectLocation(v8::Local<v8::Context>, | 119 v8::Local<v8::Value> generatorObjectLocation(v8::Local<v8::Context>, |
122 v8::Local<v8::Object>); | 120 v8::Local<v8::Object>); |
123 v8::Local<v8::Value> functionLocation(v8::Local<v8::Context>, | 121 v8::Local<v8::Value> functionLocation(v8::Local<v8::Context>, |
124 v8::Local<v8::Function>); | 122 v8::Local<v8::Function>); |
125 | 123 |
126 enum ScopeTargetKind { | 124 enum ScopeTargetKind { |
127 FUNCTION, | 125 FUNCTION, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; | 157 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; |
160 | 158 |
161 WasmTranslation m_wasmTranslation; | 159 WasmTranslation m_wasmTranslation; |
162 | 160 |
163 DISALLOW_COPY_AND_ASSIGN(V8Debugger); | 161 DISALLOW_COPY_AND_ASSIGN(V8Debugger); |
164 }; | 162 }; |
165 | 163 |
166 } // namespace v8_inspector | 164 } // namespace v8_inspector |
167 | 165 |
168 #endif // V8_INSPECTOR_V8DEBUGGER_H_ | 166 #endif // V8_INSPECTOR_V8DEBUGGER_H_ |
OLD | NEW |