Lines Matching refs:vm
24 void InitializeDebugger(::panda::ecmascript::EcmaVM *vm,
27 if (vm == nullptr || vm->GetJsDebuggerManager() == nullptr) {
31 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler();
36 vm->GetJsDebuggerManager()->SetDebuggerHandler(new ProtocolHandler(onResponse, vm));
39 void UninitializeDebugger(::panda::ecmascript::EcmaVM *vm)
41 if (vm == nullptr || vm->GetJsDebuggerManager() == nullptr) {
45 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler();
47 vm->GetJsDebuggerManager()->SetDebuggerHandler(nullptr);
50 void WaitForDebugger(const ::panda::ecmascript::EcmaVM *vm)
52 if (vm == nullptr || vm->GetJsDebuggerManager() == nullptr) {
56 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler();
62 void OnMessage(const ::panda::ecmascript::EcmaVM *vm, std::string &&message)
64 if (vm == nullptr || vm->GetJsDebuggerManager() == nullptr) {
68 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler();
74 void ProcessMessage(const ::panda::ecmascript::EcmaVM *vm)
76 if (vm == nullptr || vm->GetJsDebuggerManager() == nullptr) {
80 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler();
86 int32_t GetDispatchStatus(const ::panda::ecmascript::EcmaVM *vm)
88 if (vm == nullptr || vm->GetJsDebuggerManager() == nullptr) {
92 ProtocolHandler *handler = vm->GetJsDebuggerManager()->GetDebuggerHandler();