| 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 <list> | 8 #include <list> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void allAsyncTasksCanceled(); | 99 void allAsyncTasksCanceled(); |
| 100 | 100 |
| 101 void muteScriptParsedEvents(); | 101 void muteScriptParsedEvents(); |
| 102 void unmuteScriptParsedEvents(); | 102 void unmuteScriptParsedEvents(); |
| 103 | 103 |
| 104 V8InspectorImpl* inspector() { return m_inspector; } | 104 V8InspectorImpl* inspector() { return m_inspector; } |
| 105 | 105 |
| 106 WasmTranslation* wasmTranslation() { return &m_wasmTranslation; } | 106 WasmTranslation* wasmTranslation() { return &m_wasmTranslation; } |
| 107 | 107 |
| 108 void setMaxAsyncTaskStacksForTest(int limit); | 108 void setMaxAsyncTaskStacksForTest(int limit); |
| 109 void dumpAsyncTaskStacksStateForTest(); |
| 109 | 110 |
| 110 private: | 111 private: |
| 111 void compileDebuggerScript(); | 112 void compileDebuggerScript(); |
| 112 v8::MaybeLocal<v8::Value> callDebuggerMethod(const char* functionName, | 113 v8::MaybeLocal<v8::Value> callDebuggerMethod(const char* functionName, |
| 113 int argc, | 114 int argc, |
| 114 v8::Local<v8::Value> argv[], | 115 v8::Local<v8::Value> argv[], |
| 115 bool catchExceptions); | 116 bool catchExceptions); |
| 116 v8::Local<v8::Context> debuggerContext() const; | 117 v8::Local<v8::Context> debuggerContext() const; |
| 117 void clearBreakpoints(); | 118 void clearBreakpoints(); |
| 118 | 119 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; | 212 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; |
| 212 | 213 |
| 213 WasmTranslation m_wasmTranslation; | 214 WasmTranslation m_wasmTranslation; |
| 214 | 215 |
| 215 DISALLOW_COPY_AND_ASSIGN(V8Debugger); | 216 DISALLOW_COPY_AND_ASSIGN(V8Debugger); |
| 216 }; | 217 }; |
| 217 | 218 |
| 218 } // namespace v8_inspector | 219 } // namespace v8_inspector |
| 219 | 220 |
| 220 #endif // V8_INSPECTOR_V8DEBUGGER_H_ | 221 #endif // V8_INSPECTOR_V8DEBUGGER_H_ |
| OLD | NEW |