Home
last modified time | relevance | path

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

12

/arkcompiler/toolchain/tooling/
Ddebugger_service.cpp27 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in InitializeDebugger()
32 vm->GetJsDebuggerManager()->SetDebuggerHandler(new ProtocolHandler(onResponse, vm)); in InitializeDebugger()
37 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in UninitializeDebugger()
39 vm->GetJsDebuggerManager()->SetDebuggerHandler(nullptr); in UninitializeDebugger()
44 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in WaitForDebugger()
52 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in OnMessage()
60 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in ProcessMessage()
68 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler(); in GetDispatchStatus()
/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.cpp82 if (ecmaVm_->GetJsDebuggerManager()->IsMixedStackEnabled()) { in BytecodePcChanged()
121 if (hooks_ == nullptr || !ecmaVm_->GetJsDebuggerManager()->IsDebugMode()) { in HandleDebuggerStmt()
248 if (hooks_ == nullptr || !ecmaVm_->GetJsDebuggerManager()->IsDebugMode()) { in MethodEntry()
255 auto *debuggerMgr = ecmaVm_->GetJsDebuggerManager(); in MethodEntry()
261 if (hooks_ == nullptr || !ecmaVm_->GetJsDebuggerManager()->IsDebugMode()) { in MethodExit()
268 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.h214 static JsDebuggerManager* GetJsDebuggerManager(int tid);
Djs_debugger.h98 notificationMgr_ = ecmaVm_->GetJsDebuggerManager()->GetNotificationManager(); in JSDebugger()
Ddebugger_api.cpp839 JsDebuggerManager *mgr = ecmaVm->GetJsDebuggerManager(); in EvaluateViaFuncCall()
858 JsDebuggerManager *mgr = ecmaVm->GetJsDebuggerManager(); in CallFunctionOnCall()
889 const auto *hotReloadManager = ecmaVm->GetJsDebuggerManager()->GetHotReloadManager(); in GetPatchExtractors()
895 const auto *hotReloadManager = ecmaVm->GetJsDebuggerManager()->GetHotReloadManager(); in GetBaseJSPandaFile()
1280 auto *debuggerMgr = ecmaVm->GetJsDebuggerManager(); in CheckPromiseQueueSize()
1290 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()
68 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
71 handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
77 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
92 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
99 ProtocolHandler *handler = ecmaVm->GetJsDebuggerManager()->GetDebuggerHandler(); in HWTEST_F_L0()
Ddebugger_entry_test.cpp43 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp()
44 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
Ddebugger_cinterp_test.cpp43 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp()
44 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
Ddebugger_cint_client_test.cpp45 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp()
46 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
Ddebugger_client_test.cpp45 if (instance->GetJsDebuggerManager() != nullptr) { in SetUp()
46 instance->GetJsDebuggerManager()->DisableObjectHashDisplay(); in SetUp()
Ddebugger_impl_test.cpp121 EXPECT_FALSE(ecmaVm->GetJsDebuggerManager()->IsDebugMode()); in HWTEST_F_L0()
135 EXPECT_TRUE(ecmaVm->GetJsDebuggerManager()->IsDebugMode()); in HWTEST_F_L0()
152 ecmaVm->GetJsDebuggerManager()->SetDebugMode(true); in HWTEST_F_L0()
163 EXPECT_FALSE(ecmaVm->GetJsDebuggerManager()->IsDebugMode()); in HWTEST_F_L0()
629 ecmaVm->GetJsDebuggerManager()->SetDebugMode(true); in HWTEST_F_L0()
782 EXPECT_FALSE(ecmaVm->GetJsDebuggerManager()->IsMixedDebugEnabled()); in HWTEST_F_L0()
796 EXPECT_TRUE(ecmaVm->GetJsDebuggerManager()->IsMixedDebugEnabled()); in HWTEST_F_L0()
1072 ecmaVm->GetJsDebuggerManager()->SetDebugMode(true); in HWTEST_F_L0()
1101 ecmaVm->GetJsDebuggerManager()->SetDebugMode(true); in HWTEST_F_L0()
/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.cpp45 auto &frameHandler = vm->GetJsDebuggerManager()->GetEvalFrameHandler(); in DebuggerGetValue()
76 auto &frameHandler = vm->GetJsDebuggerManager()->GetEvalFrameHandler(); in DebuggerSetValue()
161 vm->GetJsDebuggerManager()->NotifyLocalScopeUpdated(varName, value); in SetLocalValue()
189 vm->GetJsDebuggerManager()->NotifyLocalScopeUpdated(varName, value); in SetLexicalValue()
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp55 vm_->GetJsDebuggerManager()->SetLocalScopeUpdater(&updaterFunc_); in DebuggerImpl()
56 vm_->GetJsDebuggerManager()->SetStepperFunc(&stepperFunc_); in DebuggerImpl()
57 vm_->GetJsDebuggerManager()->SetJSReturnNativeFunc(&returnNative_); in DebuggerImpl()
64 vm_->GetJsDebuggerManager()->SetLocalScopeUpdater(nullptr); in ~DebuggerImpl()
65 vm_->GetJsDebuggerManager()->SetStepperFunc(nullptr); in ~DebuggerImpl()
66 vm_->GetJsDebuggerManager()->SetJSReturnNativeFunc(nullptr); in ~DebuggerImpl()
82 if (!vm_->GetJsDebuggerManager()->IsDebugApp()) { in NotifyScriptParsed()
355 auto *handler = vm_->GetJsDebuggerManager()->GetDebuggerHandler(); in NotifyHandleProtocolCommand()
698 return vm->GetJsDebuggerManager()->IsDebugMode() && channel_ != nullptr; in AllowNotify()
808 vm_->GetJsDebuggerManager()->SetDebugMode(true); in Enable()
[all …]
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp2157 vm->GetJsDebuggerManager()->ClearSingleStepper(); in Call()
2174 vm->GetJsDebuggerManager()->NotifyReturnNative(); in Call()
2188 ecmascript::tooling::JsDebuggerManager *dm = vm->GetJsDebuggerManager(); in CallForNapi()
2947 const auto &handler = vm->GetJsDebuggerManager()->GetDebugLibraryHandle(); in StartDebugger()
2970 vm->GetJsDebuggerManager()->SetDebugMode(option.isDebugMode); in StartDebugger()
2971 vm->GetJsDebuggerManager()->SetIsDebugApp(true); in StartDebugger()
2972 vm->GetJsDebuggerManager()->SetDebugLibraryHandle(std::move(handle.Value())); in StartDebugger()
2977 vm->GetJsDebuggerManager()->SetDebugMode(false); in StartDebugger()
2979 vm->GetJsDebuggerManager()->SetDebugLibraryHandle(std::move(libraryHandle)); in StartDebugger()
2987 vm->GetJsDebuggerManager()->SetDebugMode(option.isDebugMode); in StartDebugger()
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/tracing/
Dtracing.cpp57 vm_->GetJsDebuggerManager()->GetNotificationManager()->AddListener(this); in StartTracing()
67 vm_->GetJsDebuggerManager()->GetNotificationManager()->RemoveListener(this); in StopTracing()
/arkcompiler/ets_runtime/ecmascript/patch/
Dpatch_loader.cpp69 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile); in LoadPatchInternal()
189 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchUnloaded(patchFile.get()); in UnloadPatchInternal()
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.h251 tooling::JsDebuggerManager *GetJsDebuggerManager() const in GetJsDebuggerManager() function
Djs_thread.cpp462 auto isDebug = GetEcmaVM()->GetJsDebuggerManager()->IsDebugMode(); in CheckSwitchDebuggerBCStub()
Decma_context.cpp340 vm_->GetJsDebuggerManager()->GetNotificationManager()->LoadModuleEvent( in InvokeEcmaEntrypoint()
Djs_function.cpp936 auto *notificationMgr = thread->GetEcmaVM()->GetJsDebuggerManager()->GetNotificationManager(); in InitializeForConcurrentFunction()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp1590 auto *debuggerMgr = thread->GetEcmaVM()->GetJsDebuggerManager(); in DEF_RUNTIME_STUBS()
2044 auto *debuggerMgr = thread->GetEcmaVM()->GetJsDebuggerManager(); in DEF_RUNTIME_STUBS()
2072 auto *debuggerMgr = thread->GetEcmaVM()->GetJsDebuggerManager(); in DEF_RUNTIME_STUBS()
2093 auto *debuggerMgr = thread->GetEcmaVM()->GetJsDebuggerManager(); in DEF_RUNTIME_STUBS()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter-inl.h168 if (ecmaVm->GetJsDebuggerManager()->IsDebugMode()) { \
890 auto *debuggerMgr = thread->GetEcmaVM()->GetJsDebuggerManager(); in NotifyBytecodePcChanged()
908 auto *debuggerMgr = thread->GetEcmaVM()->GetJsDebuggerManager(); in NotifyDebuggerStmt()
926 auto *debuggerMgr = thread->GetEcmaVM()->GetJsDebuggerManager(); in MethodEntry()
943 auto *debuggerMgr = thread->GetEcmaVM()->GetJsDebuggerManager(); in MethodExit()
3838 auto *debuggerMgr = thread->GetEcmaVM()->GetJsDebuggerManager(); in RunInternal()

12