MCPcopy Create free account
hub / github.com/NativeScript/android / scheduleBreak

Method scheduleBreak

test-app/runtime/src/main/cpp/JsV8InspectorClient.cpp:76–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void JsV8InspectorClient::scheduleBreak() {
77 v8::Locker locker(isolate_);
78 Isolate::Scope isolate_scope(isolate_);
79 v8::HandleScope handleScope(isolate_);
80 auto context = Runtime::GetRuntime(isolate_)->GetContext();
81 Context::Scope context_scope(context);
82
83 session_->schedulePauseOnNextStatement({}, {});
84}
85
86void JsV8InspectorClient::createInspectorSession() {
87 session_ = inspector_->connect(JsV8InspectorClient::contextGroupId, this, {});

Calls 1

GetContextMethod · 0.80

Tested by

no test coverage detected