• Home
  • Raw
  • Download

Lines Matching refs:DebugEvent

60         WaitForEvent(DebugEvent::BREAKPOINT, predicate, onSuccess);  in WaitForBreakpoint()
65 auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::DROPFRAME; }; in WaitForDropframe()
66 return WaitForEvent(DebugEvent::DROPFRAME, predicate, [] {}); in WaitForDropframe()
71 … auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::CHECK_COMPLETE; }; in WaitForCheckComplete()
72 return WaitForEvent(DebugEvent::CHECK_COMPLETE, predicate, [] {}); in WaitForCheckComplete()
77 return WaitForEvent(DebugEvent::VM_DEATH, in WaitForExit()
79 return lastEvent_ == DebugEvent::VM_DEATH; in WaitForExit()
91 WaitForEvent(DebugEvent::STEP_COMPLETE, predicate, onSuccess); in WaitForStepComplete()
96 auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::EXCEPTION; }; in WaitForException()
97 return WaitForEvent(DebugEvent::EXCEPTION, predicate, [] {}); in WaitForException()
102 return WaitForEvent(DebugEvent::VM_START, in WaitForInit()
110 … auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::LOAD_MODULE; }; in WaitForLoadModule()
111 return WaitForEvent(DebugEvent::LOAD_MODULE, predicate, [] {}); in WaitForLoadModule()
114 … static void Event(DebugEvent event, JSPtLocation location = JSPtLocation(nullptr, EntityId(0), 0))
120 if (event == DebugEvent::VM_START) {
130 lastEvent_ = DebugEvent::VM_START; in Reset()
141 return lastEvent_ == DebugEvent::VM_DEATH; in IsTestFinished()
167 …static bool SuspendUntilContinue(DebugEvent reason, JSPtLocation location = JSPtLocation(nullptr, …
198 static bool WaitForEvent(DebugEvent event, Predicate predicate, OnSuccessAction action) in WaitForEvent()
202 if (lastEvent_ == DebugEvent::VM_DEATH) { in WaitForEvent()
219 static DebugEvent lastEvent_ GUARDED_BY(eventMutex_);