Lines Matching refs:v8
14 #include "include/v8-inspector.h"
20 #include "src/inspector/v8-debugger-id.h"
21 #include "src/inspector/v8-debugger-script.h"
45 class V8Debugger : public v8::debug::DebugDelegate,
46 public v8::debug::AsyncEventDelegate {
48 V8Debugger(v8::Isolate*, V8InspectorImpl*);
54 v8::Isolate* isolate() const { return m_isolate; }
58 v8::debug::ExceptionBreakState getPauseOnExceptionsState();
59 void setPauseOnExceptionsState(v8::debug::ExceptionBreakState);
79 // Each script inherits debug data from v8::Context where it has been
100 std::shared_ptr<StackFrame> symbolize(v8::Local<v8::StackFrame> v8Frame);
102 std::unique_ptr<V8StackTraceImpl> createStackTrace(v8::Local<v8::StackTrace>);
105 v8::MaybeLocal<v8::Array> internalProperties(v8::Local<v8::Context>,
106 v8::Local<v8::Value>);
108 v8::Local<v8::Array> queryObjects(v8::Local<v8::Context> context,
109 v8::Local<v8::Object> prototype);
139 bool addInternalObject(v8::Local<v8::Context> context,
140 v8::Local<v8::Object> object,
148 static void terminateExecutionCompletedCallback(v8::Isolate* isolate);
150 v8::Isolate* isolate, void*);
152 v8::Local<v8::Context> pausedContext, v8::Local<v8::Value> exception,
153 const std::vector<v8::debug::BreakpointId>& hitBreakpoints,
154 v8::debug::BreakReasons break_reasons,
155 v8::debug::ExceptionType exception_type = v8::debug::kException,
162 v8::MaybeLocal<v8::Value> getTargetScopes(v8::Local<v8::Context>,
163 v8::Local<v8::Value>,
166 v8::MaybeLocal<v8::Value> functionScopes(v8::Local<v8::Context>,
167 v8::Local<v8::Function>);
168 v8::MaybeLocal<v8::Value> generatorScopes(v8::Local<v8::Context>,
169 v8::Local<v8::Value>);
170 v8::MaybeLocal<v8::Array> collectionsEntries(v8::Local<v8::Context> context,
171 v8::Local<v8::Value> value);
184 // v8::debug::DebugEventListener implementation.
185 void AsyncEventOccurred(v8::debug::DebugAsyncActionType type, int id,
187 void ScriptCompiled(v8::Local<v8::debug::Script> script, bool is_live_edited,
190 v8::Local<v8::Context> paused_context,
191 const std::vector<v8::debug::BreakpointId>& break_points_hit,
192 v8::debug::BreakReasons break_reasons) override;
193 void BreakOnInstrumentation(v8::Local<v8::Context> paused_context,
194 v8::debug::BreakpointId) override;
195 void ExceptionThrown(v8::Local<v8::Context> paused_context,
196 v8::Local<v8::Value> exception,
197 v8::Local<v8::Value> promise, bool is_uncaught,
198 v8::debug::ExceptionType exception_type) override;
199 bool IsFunctionBlackboxed(v8::Local<v8::debug::Script> script,
200 const v8::debug::Location& start,
201 const v8::debug::Location& end) override;
203 bool ShouldBeSkipped(v8::Local<v8::debug::Script> script, int line,
210 v8::Isolate* m_isolate;
282 v8::debug::ExceptionBreakState m_pauseOnExceptionsState;