diff --git a/runtime/src/main/jni/v8_inspector/src/inspector/v8-debugger.cc b/runtime/src/main/jni/v8_inspector/src/inspector/v8-debugger.cc index e77700a58..a6079da9f 100644 --- a/runtime/src/main/jni/v8_inspector/src/inspector/v8-debugger.cc +++ b/runtime/src/main/jni/v8_inspector/src/inspector/v8-debugger.cc @@ -51,7 +51,7 @@ V8Debugger::V8Debugger(v8::Isolate* isolate, V8InspectorImpl* inspector) : m_isolate(isolate), m_inspector(inspector), - m_lastContextId(-1), + m_lastContextId(0), m_enableCount(0), m_breakpointsActivated(true), m_runningNestedMessageLoop(false), @@ -702,7 +702,6 @@ void V8Debugger::compileDebuggerScript() { sizeof(DebuggerScript_js)) .ToLocalChecked(); - v8::Local value; if (!m_inspector->compileAndRunInternalScript(debuggerContext(), scriptValue) .ToLocal(&value)) {