Home
last modified time | relevance | path

Searched refs:GetJsDebuggerManager (Results 1 – 25 of 33) sorted by relevance

12

/arkcompiler/toolchain/tooling/
Ddebugger_service.cpp27 if (vm == nullptr || vm->GetJsDebuggerManager() == nullptr) { in InitializeDebugger()
31 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in InitializeDebugger()
36 vm->GetJsDebuggerManager()->SetDebuggerHandler(new ProtocolHandler(onResponse, vm)); in InitializeDebugger()
41 if (vm == nullptr || vm->GetJsDebuggerManager() == nullptr) { in UninitializeDebugger()
45 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in UninitializeDebugger()
47 vm->GetJsDebuggerManager()->SetDebuggerHandler(nullptr); in UninitializeDebugger()
52 if (vm == nullptr || vm->GetJsDebuggerManager() == nullptr) { in WaitForDebugger()
56 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in WaitForDebugger()
64 if (vm == nullptr || vm->GetJsDebuggerManager() == nullptr) { in OnMessage()
68 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in OnMessage()
[all …]
/arkcompiler/ets_runtime/ecmascript/debugger/
Dhot_reload_manager.cpp24 if (vm_->GetJsDebuggerManager()->GetDebuggerHandler() == nullptr) { in NotifyPatchLoaded()
31 vm_->GetJsDebuggerManager()->ClearSingleStepper(); in NotifyPatchLoaded()
36 if (vm_->GetJsDebuggerManager()->GetDebuggerHandler() == nullptr) { in NotifyPatchUnloaded()
42 vm_->GetJsDebuggerManager()->ClearSingleStepper(); in NotifyPatchUnloaded()
76 auto *notificationMgr = vm_->GetJsDebuggerManager()->GetNotificationManager(); in ExtractPatch()
Djs_debugger.cpp115 if (ecmaVm_->GetJsDebuggerManager()->IsMixedStackEnabled()) { in BytecodePcChanged()
165 if (hooks_ == nullptr || !ecmaVm_->GetJsDebuggerManager()->IsDebugMode()) { in HandleDebuggerStmt()
319 if (hooks_ == nullptr || !ecmaVm_->GetJsDebuggerManager()->IsDebugMode()) { in MethodEntry()
326 auto *debuggerMgr = ecmaVm_->GetJsDebuggerManager(); in MethodEntry()
337 if (hooks_ == nullptr || !ecmaVm_->GetJsDebuggerManager()->IsDebugMode()) { in MethodExit()
344 auto *debuggerMgr = ecmaVm_->GetJsDebuggerManager(); in MethodExit()
Djs_debugger_manager.cpp31 JsDebuggerManager *JsDebuggerManager::GetJsDebuggerManager(int tid) in GetJsDebuggerManager() function in panda::ecmascript::tooling::JsDebuggerManager
Djs_debugger_manager.h265 static JsDebuggerManager* GetJsDebuggerManager(int tid);
Djs_debugger.h98 notificationMgr_ = ecmaVm_->GetJsDebuggerManager()->GetNotificationManager(); in JSDebugger()
Ddebugger_api.cpp859 JsDebuggerManager *mgr = ecmaVm->GetJsDebuggerManager(); in EvaluateViaFuncCall()
878 JsDebuggerManager *mgr = ecmaVm->GetJsDebuggerManager(); in CallFunctionOnCall()
909 const auto *hotReloadManager = ecmaVm->GetJsDebuggerManager()->GetHotReloadManager(); in GetPatchExtractors()
915 const auto *hotReloadManager = ecmaVm->GetJsDebuggerManager()->GetHotReloadManager(); in GetBaseJSPandaFile()
1300 auto *debuggerMgr = ecmaVm->GetJsDebuggerManager(); in CheckPromiseQueueSize()
1310 auto *debuggerMgr = ecmaVm->GetJsDebuggerManager(); in CheckIsSendableMethod()
1320 auto *debuggerMgr = ecmaVm->GetJsDebuggerManager(); in DropLastFrame()
/arkcompiler/toolchain/tooling/test/
Ddebugger_service_test.cpp55 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
58 handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
71 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
74 handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
83 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
101 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
108 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
Ddebugger_cinterp_test.cpp43 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp()
44 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
Ddebugger_entry_test.cpp43 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp()
44 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
Ddebugger_client_test.cpp50 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp()
51 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
Ddebugger_cint_client_test.cpp50 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp()
51 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
Ddebugger_impl_test.cpp117 ecmaVm->GetJsDebuggerManager()->SetIsDebugApp(true); in HWTEST_F_L0()
118 ecmaVm->GetJsDebuggerManager()->SetDebugMode(true); in HWTEST_F_L0()
122 ecmaVm->GetJsDebuggerManager()->SetIsDebugApp(false); in HWTEST_F_L0()
123 ecmaVm->GetJsDebuggerManager()->SetDebugMode(false); in HWTEST_F_L0()
174 EXPECT_FALSE(ecmaVm->GetJsDebuggerManager()->IsDebugMode()); in HWTEST_F_L0()
190 EXPECT_TRUE(ecmaVm->GetJsDebuggerManager()->IsDebugMode()); in HWTEST_F_L0()
207 EXPECT_FALSE(ecmaVm->GetJsDebuggerManager()->IsDebugMode()); in HWTEST_F_L0()
227 EXPECT_TRUE(ecmaVm->GetJsDebuggerManager()->IsDebugMode()); in HWTEST_F_L0()
244 ecmaVm->GetJsDebuggerManager()->SetDebugMode(true); in HWTEST_F_L0()
255 EXPECT_FALSE(ecmaVm->GetJsDebuggerManager()->IsDebugMode()); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/debugger/tests/
Dhot_reload_manager_test.cpp49 ecmaVm->GetJsDebuggerManager()->SetDebuggerHandler(new ProtocolHandler()); in SetUp()
54 ecmaVm->GetJsDebuggerManager()->SetDebuggerHandler(nullptr); in TearDown()
69 const auto *hotReloadManager = ecmaVm->GetJsDebuggerManager()->GetHotReloadManager(); in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/backend/
Ddebugger_executor.cpp46 auto &frameHandler = vm->GetJsDebuggerManager()->GetEvalFrameHandler(); in DebuggerGetValue()
77 auto &frameHandler = vm->GetJsDebuggerManager()->GetEvalFrameHandler(); in DebuggerSetValue()
162 vm->GetJsDebuggerManager()->NotifyScopeUpdated(varName, value, Scope::Type::Local()); in SetLocalValue()
190 vm->GetJsDebuggerManager()->NotifyScopeUpdated(varName, value, Scope::Type::Closure()); in SetLexicalValue()
202 vm->GetJsDebuggerManager()->NotifyScopeUpdated(varName, value, Scope::Type::Global()); in SetGlobalValue()
237 vm->GetJsDebuggerManager()->NotifyScopeUpdated(varName, value, Scope::Type::Module()); in SetModuleValue()
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp58 vm_->GetJsDebuggerManager()->SetLocalScopeUpdater(&updaterFunc_); in DebuggerImpl()
59 vm_->GetJsDebuggerManager()->SetStepperFunc(&stepperFunc_); in DebuggerImpl()
60 vm_->GetJsDebuggerManager()->SetJSReturnNativeFunc(&returnNative_); in DebuggerImpl()
67 vm_->GetJsDebuggerManager()->SetLocalScopeUpdater(nullptr); in ~DebuggerImpl()
68 vm_->GetJsDebuggerManager()->SetStepperFunc(nullptr); in ~DebuggerImpl()
69 vm_->GetJsDebuggerManager()->SetJSReturnNativeFunc(nullptr); in ~DebuggerImpl()
91 if (!vm_->GetJsDebuggerManager()->GetFaApp() && jsPandaFile->IsBundlePack()) { in NotifyScriptParsed()
148 if (!vm_->GetJsDebuggerManager()->IsDebugApp()) { in CheckScriptParsed()
460 auto *handler = vm_->GetJsDebuggerManager()->GetDebuggerHandler(); in NotifyHandleProtocolCommand()
979 return vm->GetJsDebuggerManager()->IsDebugMode() && channel_ != nullptr; in AllowNotify()
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/tracing/
Dtracing.cpp55 vm_->GetJsDebuggerManager()->GetNotificationManager()->AddListener(this); in StartTracing()
65 vm_->GetJsDebuggerManager()->GetNotificationManager()->RemoveListener(this); in StopTracing()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp3440 vm->GetJsDebuggerManager()->ClearSingleStepper(); in Call()
3460 vm->GetJsDebuggerManager()->NotifyReturnNative(); in Call()
3475 ecmascript::tooling::JsDebuggerManager *dm = vm->GetJsDebuggerManager(); in CallForNapi()
4403 const auto &handler = vm->GetJsDebuggerManager()->GetDebugLibraryHandle(); in StartDebuggerCheckParameters()
4425 vm->GetJsDebuggerManager()->SetDebugMode(option.isDebugMode); in StartDebuggerCheckParameters()
4426 vm->GetJsDebuggerManager()->SetIsDebugApp(true); in StartDebuggerCheckParameters()
4427 vm->GetJsDebuggerManager()->SetDebugLibraryHandle(std::move(handle.Value())); in StartDebuggerCheckParameters()
4428 vm->GetJsDebuggerManager()->SetFaApp(option.isFaApp); in StartDebuggerCheckParameters()
4433 vm->GetJsDebuggerManager()->SetDebugMode(false); in StartDebuggerCheckParameters()
4435 vm->GetJsDebuggerManager()->SetDebugLibraryHandle(std::move(libraryHandle)); in StartDebuggerCheckParameters()
[all …]
Ddfx_jsnapi.cpp780 ecmaVM->GetJsDebuggerManager()->EnableSerializationTimeoutCheck(); in EnableSeriliazationTimeoutCheck()
781 ecmaVM->GetJsDebuggerManager()->SetSerializationCheckThreshold(threshold); in EnableSeriliazationTimeoutCheck()
786 ecmaVM->GetJsDebuggerManager()->DisableSerializationTimeoutCheck(); in DisableSeriliazationTimeoutCheck()
/arkcompiler/ets_runtime/ecmascript/patch/
Dpatch_loader.cpp38 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile); in LoadPatchInternal()
65 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile); in LoadPatchInternal()
165 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchUnloaded(patchFile.get()); in UnloadPatchInternal()
/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp182 bool signalState = vm->GetJsDebuggerManager()->GetSignalState(); in GetOrInternString()
222 if (vm->GetJsDebuggerManager()->GetSignalState()) { in GetOrInternString()
Decma_vm.h279 tooling::JsDebuggerManager *GetJsDebuggerManager() const in GetJsDebuggerManager() function
Decma_string-inl.h220 if (vm->GetJsDebuggerManager()->GetSignalState()) { in GetDebuggerThread()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter-inl.h170 if (ecmaVm->GetJsDebuggerManager()->IsDebugMode()) { \
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dcpu_profiler.cpp395 [[maybe_unused]] SignalStateScope scope(thread->GetEcmaVM()->GetJsDebuggerManager()); in GetStackSignalHandler()

12