Lines Matching refs:DebuggerImpl
43 DebuggerImpl::DebuggerImpl(const EcmaVM *vm, ProtocolChannel *channel, RuntimeImpl *runtime) in DebuggerImpl() function in panda::ecmascript::tooling::DebuggerImpl
52 updaterFunc_ = std::bind(&DebuggerImpl::UpdateScopeObject, this, _1, _2, _3); in DebuggerImpl()
53 stepperFunc_ = std::bind(&DebuggerImpl::ClearSingleStepper, this); in DebuggerImpl()
58 DebuggerImpl::~DebuggerImpl() in ~DebuggerImpl()
63 bool DebuggerImpl::NotifyScriptParsed(ScriptId scriptId, const std::string &fileName, std::string_v… in NotifyScriptParsed()
114 bool DebuggerImpl::NotifySingleStep(const JSPtLocation &location) in NotifySingleStep()
144 bool DebuggerImpl::IsSkipLine(const JSPtLocation &location) in IsSkipLine()
173 bool DebuggerImpl::CheckPauseOnException() in CheckPauseOnException()
186 void DebuggerImpl::NotifyPaused(std::optional<JSPtLocation> location, PauseReason reason) in NotifyPaused()
247 void DebuggerImpl::NotifyNativeCalling(const void *nativeAddress) in NotifyNativeCalling()
267 void DebuggerImpl::SetDebuggerState(DebuggerState debuggerState) in SetDebuggerState()
272 void DebuggerImpl::NotifyHandleProtocolCommand() in NotifyHandleProtocolCommand()
278 void DebuggerImpl::DispatcherImpl::Dispatch(const DispatchRequest &request) in Dispatch()
281 { "enable", &DebuggerImpl::DispatcherImpl::Enable }, in Dispatch()
282 { "disable", &DebuggerImpl::DispatcherImpl::Disable }, in Dispatch()
283 { "evaluateOnCallFrame", &DebuggerImpl::DispatcherImpl::EvaluateOnCallFrame }, in Dispatch()
284 { "getPossibleBreakpoints", &DebuggerImpl::DispatcherImpl::GetPossibleBreakpoints }, in Dispatch()
285 { "getScriptSource", &DebuggerImpl::DispatcherImpl::GetScriptSource }, in Dispatch()
286 { "pause", &DebuggerImpl::DispatcherImpl::Pause }, in Dispatch()
287 { "removeBreakpoint", &DebuggerImpl::DispatcherImpl::RemoveBreakpoint }, in Dispatch()
288 { "resume", &DebuggerImpl::DispatcherImpl::Resume }, in Dispatch()
289 { "setAsyncCallStackDepth", &DebuggerImpl::DispatcherImpl::SetAsyncCallStackDepth }, in Dispatch()
290 { "setBreakpointByUrl", &DebuggerImpl::DispatcherImpl::SetBreakpointByUrl }, in Dispatch()
291 { "setPauseOnExceptions", &DebuggerImpl::DispatcherImpl::SetPauseOnExceptions }, in Dispatch()
292 { "stepInto", &DebuggerImpl::DispatcherImpl::StepInto }, in Dispatch()
293 { "stepOut", &DebuggerImpl::DispatcherImpl::StepOut }, in Dispatch()
294 { "stepOver", &DebuggerImpl::DispatcherImpl::StepOver }, in Dispatch()
295 { "setMixedDebugEnabled", &DebuggerImpl::DispatcherImpl::SetMixedDebugEnabled }, in Dispatch()
296 { "setBlackboxPatterns", &DebuggerImpl::DispatcherImpl::SetBlackboxPatterns }, in Dispatch()
297 { "replyNativeCalling", &DebuggerImpl::DispatcherImpl::ReplyNativeCalling }, in Dispatch()
298 …{ "getPossibleAndSetBreakpointByUrl", &DebuggerImpl::DispatcherImpl::GetPossibleAndSetBreakpointBy… in Dispatch()
299 { "dropFrame", &DebuggerImpl::DispatcherImpl::DropFrame } in Dispatch()
312 void DebuggerImpl::DispatcherImpl::Enable(const DispatchRequest &request) in Enable()
327 void DebuggerImpl::DispatcherImpl::Disable(const DispatchRequest &request) in Disable()
333 void DebuggerImpl::DispatcherImpl::EvaluateOnCallFrame(const DispatchRequest &request) in EvaluateOnCallFrame()
351 void DebuggerImpl::DispatcherImpl::GetPossibleBreakpoints(const DispatchRequest &request) in GetPossibleBreakpoints()
364 void DebuggerImpl::DispatcherImpl::GetScriptSource(const DispatchRequest &request) in GetScriptSource()
377 void DebuggerImpl::DispatcherImpl::Pause(const DispatchRequest &request) in Pause()
383 void DebuggerImpl::DispatcherImpl::RemoveBreakpoint(const DispatchRequest &request) in RemoveBreakpoint()
394 void DebuggerImpl::DispatcherImpl::Resume(const DispatchRequest &request) in Resume()
405 void DebuggerImpl::DispatcherImpl::SetAsyncCallStackDepth(const DispatchRequest &request) in SetAsyncCallStackDepth()
411 void DebuggerImpl::DispatcherImpl::SetBreakpointByUrl(const DispatchRequest &request) in SetBreakpointByUrl()
426 void DebuggerImpl::DispatcherImpl::GetPossibleAndSetBreakpointByUrl(const DispatchRequest &request) in GetPossibleAndSetBreakpointByUrl()
441 void DebuggerImpl::DispatcherImpl::SetPauseOnExceptions(const DispatchRequest &request) in SetPauseOnExceptions()
453 void DebuggerImpl::DispatcherImpl::StepInto(const DispatchRequest &request) in StepInto()
464 void DebuggerImpl::DispatcherImpl::StepOut(const DispatchRequest &request) in StepOut()
470 void DebuggerImpl::DispatcherImpl::StepOver(const DispatchRequest &request) in StepOver()
481 void DebuggerImpl::DispatcherImpl::SetMixedDebugEnabled(const DispatchRequest &request) in SetMixedDebugEnabled()
492 void DebuggerImpl::DispatcherImpl::ReplyNativeCalling(const DispatchRequest &request) in ReplyNativeCalling()
503 void DebuggerImpl::DispatcherImpl::SetBlackboxPatterns(const DispatchRequest &request) in SetBlackboxPatterns()
509 void DebuggerImpl::DispatcherImpl::DropFrame(const DispatchRequest &request) in DropFrame()
520 bool DebuggerImpl::Frontend::AllowNotify(const EcmaVM *vm) const in AllowNotify()
525 void DebuggerImpl::Frontend::BreakpointResolved(const EcmaVM *vm) in BreakpointResolved()
535 void DebuggerImpl::Frontend::Paused(const EcmaVM *vm, const tooling::Paused &paused) in Paused()
544 void DebuggerImpl::Frontend::NativeCalling(const EcmaVM *vm, const tooling::NativeCalling &nativeCa… in NativeCalling()
553 void DebuggerImpl::Frontend::Resumed(const EcmaVM *vm) in Resumed()
564 void DebuggerImpl::Frontend::ScriptFailedToParse(const EcmaVM *vm) in ScriptFailedToParse()
574 void DebuggerImpl::Frontend::ScriptParsed(const EcmaVM *vm, const PtScript &script) in ScriptParsed()
593 void DebuggerImpl::Frontend::WaitForDebugger(const EcmaVM *vm) in WaitForDebugger()
602 void DebuggerImpl::Frontend::RunIfWaitingForDebugger(const EcmaVM *vm) in RunIfWaitingForDebugger()
611 DispatchResponse DebuggerImpl::Enable([[maybe_unused]] const EnableParams ¶ms, UniqueDebuggerId… in Enable()
623 DispatchResponse DebuggerImpl::Disable() in Disable()
633 DispatchResponse DebuggerImpl::EvaluateOnCallFrame(const EvaluateOnCallFrameParams ¶ms, in EvaluateOnCallFrame()
670 DispatchResponse DebuggerImpl::GetPossibleBreakpoints(const GetPossibleBreakpointsParams ¶ms, in GetPossibleBreakpoints()
698 DispatchResponse DebuggerImpl::GetScriptSource(const GetScriptSourceParams ¶ms, std::string *so… in GetScriptSource()
711 DispatchResponse DebuggerImpl::Pause() in Pause()
717 DispatchResponse DebuggerImpl::RemoveBreakpoint(const RemoveBreakpointParams ¶ms) in RemoveBreakpoint()
754 DispatchResponse DebuggerImpl::Resume([[maybe_unused]] const ResumeParams ¶ms) in Resume()
764 DispatchResponse DebuggerImpl::SetAsyncCallStackDepth() in SetAsyncCallStackDepth()
769 DispatchResponse DebuggerImpl::SetBreakpointByUrl(const SetBreakpointByUrlParams ¶ms, in SetBreakpointByUrl()
832 DispatchResponse DebuggerImpl::GetPossibleAndSetBreakpointByUrl(const GetPossibleAndSetBreakpointPa… in GetPossibleAndSetBreakpointByUrl()
856 bool DebuggerImpl::ProcessSingleBreakpoint(const BreakpointInfo &breakpoint, in ProcessSingleBreakpoint()
914 DispatchResponse DebuggerImpl::SetPauseOnExceptions(const SetPauseOnExceptionsParams ¶ms) in SetPauseOnExceptions()
920 DispatchResponse DebuggerImpl::StepInto([[maybe_unused]] const StepIntoParams ¶ms) in StepInto()
935 DispatchResponse DebuggerImpl::StepOut() in StepOut()
950 DispatchResponse DebuggerImpl::StepOver([[maybe_unused]] const StepOverParams ¶ms) in StepOver()
965 DispatchResponse DebuggerImpl::SetBlackboxPatterns() in SetBlackboxPatterns()
970 DispatchResponse DebuggerImpl::SetMixedDebugEnabled([[maybe_unused]] const SetMixedDebugParams &par… in SetMixedDebugEnabled()
976 DispatchResponse DebuggerImpl::ReplyNativeCalling([[maybe_unused]] const ReplyNativeCallingParams &… in ReplyNativeCalling()
985 DispatchResponse DebuggerImpl::DropFrame(const DropFrameParams ¶ms) in DropFrame()
1010 void DebuggerImpl::CleanUpOnPaused() in CleanUpOnPaused()
1019 std::string DebuggerImpl::Trim(const std::string &str) in Trim()
1029 DebugInfoExtractor *DebuggerImpl::GetExtractor(const JSPandaFile *jsPandaFile) in GetExtractor()
1035 DebugInfoExtractor *DebuggerImpl::GetExtractor(const std::string &url) in GetExtractor()
1060 bool DebuggerImpl::GenerateCallFrames(std::vector<std::unique_ptr<CallFrame>> *callFrames) in GenerateCallFrames()
1083 void DebuggerImpl::SaveCallFrameHandler(const FrameHandler *frameHandler) in SaveCallFrameHandler()
1090 bool DebuggerImpl::GenerateCallFrame(CallFrame *callFrame, in GenerateCallFrame()
1157 std::unique_ptr<Scope> DebuggerImpl::GetLocalScopeChain(const FrameHandler *frameHandler, in GetLocalScopeChain()
1211 std::unique_ptr<Scope> DebuggerImpl::GetModuleScopeChain() in GetModuleScopeChain()
1232 void DebuggerImpl::GetLocalVariables(const FrameHandler *frameHandler, panda_file::File::EntityId m… in GetLocalVariables()
1274 bool DebuggerImpl::IsWithinVariableScope(const LocalVariableInfo &localVariableInfo, uint32_t bcOff… in IsWithinVariableScope()
1279 void DebuggerImpl::GetClosureVariables(const FrameHandler *frameHandler, Local<JSValueRef> &thisVal, in GetClosureVariables()
1330 std::unique_ptr<Scope> DebuggerImpl::GetGlobalScopeChain() in GetGlobalScopeChain()
1347 void DebuggerImpl::UpdateScopeObject(const FrameHandler *frameHandler, in UpdateScopeObject()
1369 void DebuggerImpl::ClearSingleStepper() in ClearSingleStepper()
1377 std::optional<std::string> DebuggerImpl::CmptEvaluateValue(CallFrameId callFrameId, const std::stri… in CmptEvaluateValue()
1428 Local<JSValueRef> DebuggerImpl::ConvertToLocal(const std::string &varValue) in ConvertToLocal()
1451 bool DebuggerImpl::DecodeAndCheckBase64(const std::string &src, std::vector<uint8_t> &dest) in DecodeAndCheckBase64()