Home | History | Annotate | Download | only in inspector

Lines Matching refs:m_isolate

146   v8::MicrotasksScope microtasks(m_isolate,
148 DCHECK(m_isolate->InContext());
149 v8::Local<v8::Context> context = m_isolate->GetCurrentContext();
150 v8::Local<v8::Object> debuggerScript = m_debuggerScript.Get(m_isolate);
153 ->Get(context, toV8StringInternalized(m_isolate, functionName))
156 v8::TryCatch try_catch(m_isolate);
163 : m_isolate(isolate),
180 v8::HandleScope scope(m_isolate);
181 v8::debug::SetDebugDelegate(m_isolate, this);
182 v8::debug::SetOutOfMemoryCallback(m_isolate, &V8Debugger::v8OOMCallback,
184 m_debuggerContext.Reset(m_isolate, v8::debug::GetDebugContext(m_isolate));
185 v8::debug::ChangeBreakOnException(m_isolate, v8::debug::NoBreakOnException);
198 v8::debug::SetDebugDelegate(m_isolate, nullptr);
199 v8::debug::SetOutOfMemoryCallback(m_isolate, nullptr, nullptr);
200 m_isolate->RestoreOriginalHeapLimit();
208 v8::HandleScope scope(m_isolate);
209 v8::PersistentValueVector<v8::debug::Script> scripts(m_isolate);
210 v8::debug::GetLoadedScripts(m_isolate, scripts);
219 result.push_back(V8DebuggerScript::Create(m_isolate, script, false));
226 v8::HandleScope scope(m_isolate);
230 v8::Local<v8::Object> info = v8::Object::New(m_isolate);
232 success = info->Set(context, toV8StringInternalized(m_isolate, "sourceID"),
233 toV8String(m_isolate, breakpoint.script_id))
236 success = info->Set(context, toV8StringInternalized(m_isolate, "lineNumber"),
237 v8::Integer::New(m_isolate, breakpoint.line_number))
241 info->Set(context, toV8StringInternalized(m_isolate, "columnNumber"),
242 v8::Integer::New(m_isolate, breakpoint.column_number))
245 success = info->Set(context, toV8StringInternalized(m_isolate, "condition"),
246 toV8String(m_isolate, breakpoint.condition))
252 m_debuggerScript.Get(m_isolate)
253 ->Get(context, toV8StringInternalized(m_isolate, "setBreakpoint"))
260 info->Get(context, toV8StringInternalized(m_isolate, "lineNumber"))
265 info->Get(context, toV8StringInternalized(m_isolate, "columnNumber"))
273 v8::HandleScope scope(m_isolate);
277 v8::Local<v8::Object> info = v8::Object::New(m_isolate);
280 info->Set(context, toV8StringInternalized(m_isolate, "breakpointId"),
281 toV8String(m_isolate, breakpointId))
288 m_debuggerScript.Get(m_isolate)
290 toV8StringInternalized(m_isolate, "removeBreakpoint"))
297 v8::HandleScope scope(m_isolate);
302 m_debuggerScript.Get(m_isolate)
303 ->Get(context, toV8StringInternalized(m_isolate, "clearBreakpoints"))
313 v8::debug::SetBreakPointsActive(m_isolate, activated);
326 v8::debug::ChangeBreakOnException(m_isolate, pauseOnExceptionsState);
333 v8::debug::DebugBreak(m_isolate);
335 v8::debug::CancelDebugBreak(m_isolate);
340 return v8::debug::HasNonBlackboxedFrameOnStack(m_isolate);
348 v8::HandleScope scope(m_isolate);
350 if (!v8::Function::New(m_isolate->GetCurrentContext(),
352 v8::External::New(m_isolate, this), 0,
368 v8::debug::PrepareStep(m_isolate, v8::debug::StepIn);
375 v8::debug::PrepareStep(m_isolate, v8::debug::StepNext);
382 v8::debug::PrepareStep(m_isolate, v8::debug::StepOut);
393 explicit EnableLiveEditScope(v8::Isolate* isolate) : m_isolate(isolate) {
394 v8::debug::SetLiveEditEnabled(m_isolate, true);
398 v8::debug::SetLiveEditEnabled(m_isolate, false);
403 v8::Isolate* m_isolate;
408 v8::HandleScope scope(m_isolate);
414 v8::Local<v8::Value> argv[] = {toV8String(m_isolate, sourceID), newSource,
415 v8Boolean(dryRun, m_isolate)};
419 EnableLiveEditScope enableLiveEditScope(m_isolate);
420 v8::TryCatch tryCatch(m_isolate);
434 v8::Local<v8::Context> context = m_isolate->GetCurrentContext();
487 v8::Integer::New(m_isolate, limit)};
518 thisPtr->m_isolate->GetCurrentContext();
560 v8::Local<v8::Context> context = m_isolate->GetCurrentContext();
562 context != v8::debug::GetDebugContext(m_isolate));
569 if (m_scheduledOOMBreak) m_isolate->RestoreOriginalHeapLimit();
577 thisPtr->m_isolate->IncreaseHeapLimitForDebugging();
590 V8DebuggerScript::Create(m_isolate, script, inLiveEditScope),
672 v8::HandleScope scope(m_isolate);
676 v8::String::NewFromUtf8(m_isolate, DebuggerScript_js,
687 m_debuggerScript.Reset(m_isolate, value.As<v8::Object>());
692 return m_debuggerContext.Get(m_isolate);
700 return v8::Local<v8::Value>::New(m_isolate, v8::Undefined(m_isolate));
718 if (!copyValueFromDebuggerContext(m_isolate, debuggerContext(), context,
745 if (!v8::debug::GetInternalProperties(m_isolate, value).ToLocal(&properties))
756 toV8StringInternalized(m_isolate, "[[FunctionLocation]]"));
761 toV8StringInternalized(m_isolate, "[[IsGenerator]]"));
763 v8::True(m_isolate));
769 toV8StringInternalized(m_isolate, "[[Entries]]"));
777 toV8StringInternalized(m_isolate, "[[GeneratorLocation]]"));
784 toV8StringInternalized(m_isolate, "[[Scopes]]"));
796 toV8StringInternalized(m_isolate, "[[Scopes]]"));
806 m_isolate->InContext()
807 ? m_inspector->contextGroupId(m_isolate->GetCurrentContext())
845 v8::HandleScope scope(m_isolate);
867 v8::HandleScope scope(m_isolate);
869 m_isolate->InContext()
870 ? m_inspector->contextGroupId(m_isolate->GetCurrentContext())
954 if (!m_isolate->InContext()) return nullptr;
956 v8::HandleScope handles(m_isolate);
958 m_inspector->contextGroupId(m_isolate->GetCurrentContext());