| /arkcompiler/toolchain/tooling/ |
| D | debugger_service.cpp | 27 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/ |
| D | hot_reload_manager.cpp | 24 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()
|
| D | js_debugger.cpp | 115 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()
|
| D | js_debugger_manager.cpp | 31 JsDebuggerManager *JsDebuggerManager::GetJsDebuggerManager(int tid) in GetJsDebuggerManager() function in panda::ecmascript::tooling::JsDebuggerManager
|
| D | js_debugger_manager.h | 265 static JsDebuggerManager* GetJsDebuggerManager(int tid);
|
| D | js_debugger.h | 98 notificationMgr_ = ecmaVm_->GetJsDebuggerManager()->GetNotificationManager(); in JSDebugger()
|
| D | debugger_api.cpp | 859 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/ |
| D | debugger_service_test.cpp | 55 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()
|
| D | debugger_cinterp_test.cpp | 43 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp() 44 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
|
| D | debugger_entry_test.cpp | 43 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp() 44 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
|
| D | debugger_client_test.cpp | 50 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp() 51 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
|
| D | debugger_cint_client_test.cpp | 50 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp() 51 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
|
| D | debugger_impl_test.cpp | 117 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/ |
| D | hot_reload_manager_test.cpp | 49 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/ |
| D | debugger_executor.cpp | 46 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/ |
| D | debugger_impl.cpp | 58 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/ |
| D | tracing.cpp | 55 vm_->GetJsDebuggerManager()->GetNotificationManager()->AddListener(this); in StartTracing() 65 vm_->GetJsDebuggerManager()->GetNotificationManager()->RemoveListener(this); in StopTracing()
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | jsnapi_expo.cpp | 3440 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 …]
|
| D | dfx_jsnapi.cpp | 780 ecmaVM->GetJsDebuggerManager()->EnableSerializationTimeoutCheck(); in EnableSeriliazationTimeoutCheck() 781 ecmaVM->GetJsDebuggerManager()->SetSerializationCheckThreshold(threshold); in EnableSeriliazationTimeoutCheck() 786 ecmaVM->GetJsDebuggerManager()->DisableSerializationTimeoutCheck(); in DisableSeriliazationTimeoutCheck()
|
| /arkcompiler/ets_runtime/ecmascript/patch/ |
| D | patch_loader.cpp | 38 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/ |
| D | ecma_string_table.cpp | 182 bool signalState = vm->GetJsDebuggerManager()->GetSignalState(); in GetOrInternString() 222 if (vm->GetJsDebuggerManager()->GetSignalState()) { in GetOrInternString()
|
| D | ecma_vm.h | 279 tooling::JsDebuggerManager *GetJsDebuggerManager() const in GetJsDebuggerManager() function
|
| D | ecma_string-inl.h | 220 if (vm->GetJsDebuggerManager()->GetSignalState()) { in GetDebuggerThread()
|
| /arkcompiler/ets_runtime/ecmascript/interpreter/ |
| D | interpreter-inl.h | 170 if (ecmaVm->GetJsDebuggerManager()->IsDebugMode()) { \
|
| /arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
| D | cpu_profiler.cpp | 395 [[maybe_unused]] SignalStateScope scope(thread->GetEcmaVM()->GetJsDebuggerManager()); in GetStackSignalHandler()
|