• Home
  • Raw
  • Download

Lines Matching refs:Error

47 std::optional<Error> Debugger::SetNotification(PtThread thread, bool enable, PtHookType hookType)  in SetNotification()
67 std::optional<Error> Debugger::SetBreakpoint(const PtLocation &location) in SetBreakpoint()
71 return Error(Error::Type::METHOD_NOT_FOUND, in SetBreakpoint()
77 …return Error(Error::Type::INVALID_BREAKPOINT, std::string("Invalid breakpoint location: bytecode o… in SetBreakpoint()
84 return Error(Error::Type::BREAKPOINT_ALREADY_EXISTS, in SetBreakpoint()
92 std::optional<Error> Debugger::RemoveBreakpoint(const PtLocation &location) in RemoveBreakpoint()
96 return Error(Error::Type::METHOD_NOT_FOUND, in RemoveBreakpoint()
102 return Error(Error::Type::BREAKPOINT_NOT_FOUND, "Breakpoint not found"); in RemoveBreakpoint()
134 Expected<panda::Frame::VRegister *, Error> Debugger::GetVRegByPtThread(PtThread thread, uint32_t fr… in GetVRegByPtThread()
139 return Unexpected(Error(Error::Type::THREAD_NOT_SUSPENDED, in GetVRegByPtThread()
147 return Unexpected(Error(Error::Type::OPAQUE_FRAME, in GetVRegByPtThread()
152 return Unexpected(Error(Error::Type::FRAME_NOT_FOUND, in GetVRegByPtThread()
166Error(Error::Type::INVALID_REGISTER, std::string("Invalid register number: ") + std::to_string(reg… in GetVRegByPtThread()
169 std::optional<Error> Debugger::GetThisVariableByFrame(PtThread thread, uint32_t frameDepth, PtValue… in GetThisVariableByFrame()
174 std::optional<Error> Debugger::GetVariable(PtThread thread, uint32_t frameDepth, int32_t regNumber, in GetVariable()
180 return ret.Error(); in GetVariable()
188 std::optional<Error> Debugger::SetVariable(PtThread thread, uint32_t frameDepth, int32_t regNumber, in SetVariable()
194 return ret.Error(); in SetVariable()
202 Expected<std::unique_ptr<PtFrame>, Error> Debugger::GetCurrentFrame(PtThread thread) const in GetCurrentFrame()
206 return Unexpected(Error(Error::Type::THREAD_NOT_FOUND, in GetCurrentFrame()
222 std::optional<Error> Debugger::EnumerateFrames(PtThread thread, std::function<bool(const PtFrame &)… in EnumerateFrames()
226 return Error(Error::Type::THREAD_NOT_FOUND, in EnumerateFrames()
244 std::optional<Error> Debugger::SuspendThread(PtThread thread) const in SuspendThread()
248 return Error(Error::Type::THREAD_NOT_FOUND, in SuspendThread()
256 std::optional<Error> Debugger::ResumeThread(PtThread thread) const in ResumeThread()
260 return Error(Error::Type::THREAD_NOT_FOUND, in ResumeThread()
268 Expected<PtMethod, Error> Debugger::GetPtMethod(const PtLocation &location) const in GetPtMethod()
274 …return Unexpected(Error(Error::Type::METHOD_NOT_FOUND, std::string("Cannot find method with id ") + in GetPtMethod()
281 std::optional<Error> Debugger::RestartFrame(PtThread thread, uint32_t frameNumber) const in RestartFrame()
285 return Error(Error::Type::THREAD_NOT_FOUND, in RestartFrame()
289 return Error(Error::Type::THREAD_NOT_SUSPENDED, in RestartFrame()
300 … return Error(Error::Type::OPAQUE_FRAME, std::string("Thread ") + std::to_string(thread.GetId()) + in RestartFrame()
314 …return Error(Error::Type::FRAME_NOT_FOUND, std::string("Thread ") + std::to_string(thread.GetId())… in RestartFrame()
320 …return Error(Error::Type::NO_MORE_FRAMES, std::string("Thread ") + std::to_string(thread.GetId()) + in RestartFrame()
339 std::optional<Error> Debugger::NotifyFramePop(PtThread thread, uint32_t depth) const in NotifyFramePop()
343 return Error(Error::Type::THREAD_NOT_FOUND, in NotifyFramePop()
351 … return Error(Error::Type::OPAQUE_FRAME, std::string("Thread ") + std::to_string(thread.GetId()) + in NotifyFramePop()
355 return Error(Error::Type::NO_MORE_FRAMES, in NotifyFramePop()
653 std::optional<Error> Debugger::SetPropertyAccessWatch(PtClass klass, PtProperty property) in SetPropertyAccessWatch()
659 return Error(Error::Type::INVALID_PROPERTY_ACCESS_WATCH, in SetPropertyAccessWatch()
668 std::optional<Error> Debugger::ClearPropertyAccessWatch(PtClass klass, PtProperty property) in ClearPropertyAccessWatch()
674 return Error(Error::Type::PROPERTY_ACCESS_WATCH_NOT_FOUND, in ClearPropertyAccessWatch()
681 std::optional<Error> Debugger::SetPropertyModificationWatch(PtClass klass, PtProperty property) in SetPropertyModificationWatch()
687 return Error(Error::Type::INVALID_PROPERTY_MODIFY_WATCH, in SetPropertyModificationWatch()
695 std::optional<Error> Debugger::ClearPropertyModificationWatch(PtClass klass, PtProperty property) in ClearPropertyModificationWatch()
701 return Error(Error::Type::PROPERTY_MODIFY_WATCH_NOT_FOUND, in ClearPropertyModificationWatch()