• Home
  • Raw
  • Download

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()
54 returnNative_ = std::bind(&DebuggerImpl::NotifyReturnNative, this); in DebuggerImpl()
60 DebuggerImpl::~DebuggerImpl() in ~DebuggerImpl()
70 bool DebuggerImpl::NotifyScriptParsed(ScriptId scriptId, const std::string &fileName, std::string_v… in NotifyScriptParsed()
126 bool DebuggerImpl::NotifyNativeOut() in NotifyNativeOut()
135 bool DebuggerImpl::NotifySingleStep(const JSPtLocation &location) in NotifySingleStep()
168 bool DebuggerImpl::IsSkipLine(const JSPtLocation &location) in IsSkipLine()
197 bool DebuggerImpl::CheckPauseOnException() in CheckPauseOnException()
210 void DebuggerImpl::NotifyPaused(std::optional<JSPtLocation> location, PauseReason reason) in NotifyPaused()
288 bool DebuggerImpl::IsUserCode(const void *nativeAddress) in IsUserCode()
299 void DebuggerImpl::NotifyNativeCalling(const void *nativeAddress) in NotifyNativeCalling()
323 void DebuggerImpl::NotifyNativeReturn(const void *nativeAddress) in NotifyNativeReturn()
330 void DebuggerImpl::NotifyReturnNative() in NotifyReturnNative()
348 void DebuggerImpl::SetDebuggerState(DebuggerState debuggerState) in SetDebuggerState()
353 void DebuggerImpl::NotifyHandleProtocolCommand() in NotifyHandleProtocolCommand()
359 void DebuggerImpl::DispatcherImpl::Dispatch(const DispatchRequest &request) in Dispatch()
362 { "continueToLocation", &DebuggerImpl::DispatcherImpl::ContinueToLocation }, in Dispatch()
363 { "enable", &DebuggerImpl::DispatcherImpl::Enable }, in Dispatch()
364 { "disable", &DebuggerImpl::DispatcherImpl::Disable }, in Dispatch()
365 { "evaluateOnCallFrame", &DebuggerImpl::DispatcherImpl::EvaluateOnCallFrame }, in Dispatch()
366 { "getPossibleBreakpoints", &DebuggerImpl::DispatcherImpl::GetPossibleBreakpoints }, in Dispatch()
367 { "getScriptSource", &DebuggerImpl::DispatcherImpl::GetScriptSource }, in Dispatch()
368 { "pause", &DebuggerImpl::DispatcherImpl::Pause }, in Dispatch()
369 { "removeBreakpoint", &DebuggerImpl::DispatcherImpl::RemoveBreakpoint }, in Dispatch()
370 { "resume", &DebuggerImpl::DispatcherImpl::Resume }, in Dispatch()
371 { "setAsyncCallStackDepth", &DebuggerImpl::DispatcherImpl::SetAsyncCallStackDepth }, in Dispatch()
372 { "setBreakpointByUrl", &DebuggerImpl::DispatcherImpl::SetBreakpointByUrl }, in Dispatch()
373 { "setBreakpointsActive", &DebuggerImpl::DispatcherImpl::SetBreakpointsActive }, in Dispatch()
374 { "setPauseOnExceptions", &DebuggerImpl::DispatcherImpl::SetPauseOnExceptions }, in Dispatch()
375 { "setSkipAllPauses", &DebuggerImpl::DispatcherImpl::SetSkipAllPauses }, in Dispatch()
376 { "stepInto", &DebuggerImpl::DispatcherImpl::StepInto }, in Dispatch()
377 { "stepOut", &DebuggerImpl::DispatcherImpl::StepOut }, in Dispatch()
378 { "stepOver", &DebuggerImpl::DispatcherImpl::StepOver }, in Dispatch()
379 { "setMixedDebugEnabled", &DebuggerImpl::DispatcherImpl::SetMixedDebugEnabled }, in Dispatch()
380 { "setBlackboxPatterns", &DebuggerImpl::DispatcherImpl::SetBlackboxPatterns }, in Dispatch()
381 { "replyNativeCalling", &DebuggerImpl::DispatcherImpl::ReplyNativeCalling }, in Dispatch()
382 …{ "getPossibleAndSetBreakpointByUrl", &DebuggerImpl::DispatcherImpl::GetPossibleAndSetBreakpointBy… in Dispatch()
383 { "dropFrame", &DebuggerImpl::DispatcherImpl::DropFrame }, in Dispatch()
384 { "setNativeRange", &DebuggerImpl::DispatcherImpl::SetNativeRange }, in Dispatch()
385 { "resetSingleStepper", &DebuggerImpl::DispatcherImpl::ResetSingleStepper }, in Dispatch()
386 { "clientDisconnect", &DebuggerImpl::DispatcherImpl::ClientDisconnect }, in Dispatch()
387 { "callFunctionOn", &DebuggerImpl::DispatcherImpl::CallFunctionOn } in Dispatch()
400 void DebuggerImpl::DispatcherImpl::ContinueToLocation(const DispatchRequest &request) in ContinueToLocation()
412 void DebuggerImpl::DispatcherImpl::Enable(const DispatchRequest &request) in Enable()
427 void DebuggerImpl::DispatcherImpl::Disable(const DispatchRequest &request) in Disable()
433 void DebuggerImpl::DispatcherImpl::EvaluateOnCallFrame(const DispatchRequest &request) in EvaluateOnCallFrame()
451 void DebuggerImpl::DispatcherImpl::GetPossibleBreakpoints(const DispatchRequest &request) in GetPossibleBreakpoints()
464 void DebuggerImpl::DispatcherImpl::GetScriptSource(const DispatchRequest &request) in GetScriptSource()
477 void DebuggerImpl::DispatcherImpl::Pause(const DispatchRequest &request) in Pause()
483 void DebuggerImpl::DispatcherImpl::RemoveBreakpoint(const DispatchRequest &request) in RemoveBreakpoint()
494 void DebuggerImpl::DispatcherImpl::Resume(const DispatchRequest &request) in Resume()
505 void DebuggerImpl::DispatcherImpl::SetAsyncCallStackDepth(const DispatchRequest &request) in SetAsyncCallStackDepth()
511 void DebuggerImpl::DispatcherImpl::SetBreakpointByUrl(const DispatchRequest &request) in SetBreakpointByUrl()
526 void DebuggerImpl::DispatcherImpl::SetBreakpointsActive(const DispatchRequest &request) in SetBreakpointsActive()
538 void DebuggerImpl::DispatcherImpl::GetPossibleAndSetBreakpointByUrl(const DispatchRequest &request) in GetPossibleAndSetBreakpointByUrl()
553 void DebuggerImpl::DispatcherImpl::SetPauseOnExceptions(const DispatchRequest &request) in SetPauseOnExceptions()
565 void DebuggerImpl::DispatcherImpl::SetSkipAllPauses(const DispatchRequest &request) in SetSkipAllPauses()
577 void DebuggerImpl::DispatcherImpl::SetNativeRange(const DispatchRequest &request) in SetNativeRange()
588 void DebuggerImpl::DispatcherImpl::ResetSingleStepper(const DispatchRequest &request) in ResetSingleStepper()
599 void DebuggerImpl::DispatcherImpl::StepInto(const DispatchRequest &request) in StepInto()
610 void DebuggerImpl::DispatcherImpl::StepOut(const DispatchRequest &request) in StepOut()
616 void DebuggerImpl::DispatcherImpl::StepOver(const DispatchRequest &request) in StepOver()
627 void DebuggerImpl::DispatcherImpl::SetMixedDebugEnabled(const DispatchRequest &request) in SetMixedDebugEnabled()
638 void DebuggerImpl::DispatcherImpl::ReplyNativeCalling(const DispatchRequest &request) in ReplyNativeCalling()
649 void DebuggerImpl::DispatcherImpl::SetBlackboxPatterns(const DispatchRequest &request) in SetBlackboxPatterns()
655 void DebuggerImpl::DispatcherImpl::DropFrame(const DispatchRequest &request) in DropFrame()
667 void DebuggerImpl::DispatcherImpl::ClientDisconnect([[maybe_unused]] const DispatchRequest &request) in ClientDisconnect()
672 void DebuggerImpl::DispatcherImpl::CallFunctionOn(const DispatchRequest &request) in CallFunctionOn()
696 bool DebuggerImpl::Frontend::AllowNotify(const EcmaVM *vm) const in AllowNotify()
701 void DebuggerImpl::Frontend::BreakpointResolved(const EcmaVM *vm) in BreakpointResolved()
711 void DebuggerImpl::Frontend::Paused(const EcmaVM *vm, const tooling::Paused &paused) in Paused()
720 void DebuggerImpl::Frontend::NativeCalling(const EcmaVM *vm, const tooling::NativeCalling &nativeCa… in NativeCalling()
729 void DebuggerImpl::Frontend::MixedStack(const EcmaVM *vm, const tooling::MixedStack &mixedStack) in MixedStack()
738 void DebuggerImpl::Frontend::Resumed(const EcmaVM *vm) in Resumed()
749 void DebuggerImpl::Frontend::ScriptFailedToParse(const EcmaVM *vm) in ScriptFailedToParse()
759 void DebuggerImpl::Frontend::ScriptParsed(const EcmaVM *vm, const PtScript &script) in ScriptParsed()
778 void DebuggerImpl::Frontend::WaitForDebugger(const EcmaVM *vm) in WaitForDebugger()
787 void DebuggerImpl::Frontend::RunIfWaitingForDebugger([[maybe_unused]] const EcmaVM *vm) in RunIfWaitingForDebugger()
798 DispatchResponse DebuggerImpl::ContinueToLocation(const ContinueToLocationParams &params) in ContinueToLocation()
804 DispatchResponse DebuggerImpl::Enable([[maybe_unused]] const EnableParams &params, UniqueDebuggerId… in Enable()
816 DispatchResponse DebuggerImpl::Disable() in Disable()
826 DispatchResponse DebuggerImpl::EvaluateOnCallFrame(const EvaluateOnCallFrameParams &params, in EvaluateOnCallFrame()
863 DispatchResponse DebuggerImpl::GetPossibleBreakpoints(const GetPossibleBreakpointsParams &params, in GetPossibleBreakpoints()
894 DispatchResponse DebuggerImpl::GetScriptSource(const GetScriptSourceParams &params, std::string *so… in GetScriptSource()
907 DispatchResponse DebuggerImpl::Pause() in Pause()
916 DispatchResponse DebuggerImpl::RemoveBreakpoint(const RemoveBreakpointParams &params) in RemoveBreakpoint()
955 DispatchResponse DebuggerImpl::Resume([[maybe_unused]] const ResumeParams &params) in Resume()
965 DispatchResponse DebuggerImpl::SetAsyncCallStackDepth() in SetAsyncCallStackDepth()
970 DispatchResponse DebuggerImpl::SetBreakpointByUrl(const SetBreakpointByUrlParams &params, in SetBreakpointByUrl()
1030 DispatchResponse DebuggerImpl::SetBreakpointsActive(const SetBreakpointsActiveParams &params) in SetBreakpointsActive()
1036 DispatchResponse DebuggerImpl::GetPossibleAndSetBreakpointByUrl(const GetPossibleAndSetBreakpointPa… in GetPossibleAndSetBreakpointByUrl()
1059 bool DebuggerImpl::ProcessSingleBreakpoint(const BreakpointInfo &breakpoint, in ProcessSingleBreakpoint()
1105 DispatchResponse DebuggerImpl::SetNativeRange(const SetNativeRangeParams &params) in SetNativeRange()
1111 DispatchResponse DebuggerImpl::ResetSingleStepper(const ResetSingleStepperParams &params) in ResetSingleStepper()
1120 DispatchResponse DebuggerImpl::SetPauseOnExceptions(const SetPauseOnExceptionsParams &params) in SetPauseOnExceptions()
1126 DispatchResponse DebuggerImpl::SetSkipAllPauses(const SetSkipAllPausesParams &params) in SetSkipAllPauses()
1132 DispatchResponse DebuggerImpl::StepInto([[maybe_unused]] const StepIntoParams &params) in StepInto()
1147 DispatchResponse DebuggerImpl::StepOut() in StepOut()
1162 DispatchResponse DebuggerImpl::StepOver([[maybe_unused]] const StepOverParams &params) in StepOver()
1177 DispatchResponse DebuggerImpl::SetBlackboxPatterns() in SetBlackboxPatterns()
1182 DispatchResponse DebuggerImpl::SetMixedDebugEnabled([[maybe_unused]] const SetMixedDebugParams &par… in SetMixedDebugEnabled()
1190 DispatchResponse DebuggerImpl::ReplyNativeCalling([[maybe_unused]] const ReplyNativeCallingParams &… in ReplyNativeCalling()
1199 DispatchResponse DebuggerImpl::DropFrame(const DropFrameParams &params) in DropFrame()
1237 DispatchResponse DebuggerImpl::ClientDisconnect() in ClientDisconnect()
1248 DispatchResponse DebuggerImpl::CallFunctionOn([[maybe_unused]] const CallFunctionOnParams &params, in CallFunctionOn()
1284 void DebuggerImpl::CleanUpOnPaused() in CleanUpOnPaused()
1291 void DebuggerImpl::CleanUpRuntimeProperties() in CleanUpRuntimeProperties()
1305 std::string DebuggerImpl::Trim(const std::string &str) in Trim()
1315 DebugInfoExtractor *DebuggerImpl::GetExtractor(const JSPandaFile *jsPandaFile) in GetExtractor()
1321 std::vector<DebugInfoExtractor *> DebuggerImpl::GetExtractors(const std::string &url) in GetExtractors()
1348 bool DebuggerImpl::GenerateCallFrames(std::vector<std::unique_ptr<CallFrame>> *callFrames, bool get… in GenerateCallFrames()
1371 void DebuggerImpl::SaveCallFrameHandler(const FrameHandler *frameHandler) in SaveCallFrameHandler()
1378 bool DebuggerImpl::GenerateCallFrame(CallFrame *callFrame, const FrameHandler *frameHandler, in GenerateCallFrame()
1452 std::unique_ptr<Scope> DebuggerImpl::GetLocalScopeChain(const FrameHandler *frameHandler, in GetLocalScopeChain()
1505 std::vector<std::unique_ptr<Scope>> DebuggerImpl::GetClosureScopeChains(const FrameHandler *frameHa… in GetClosureScopeChains()
1597 std::unique_ptr<Scope> DebuggerImpl::GetModuleScopeChain() in GetModuleScopeChain()
1618 void DebuggerImpl::GetLocalVariables(const FrameHandler *frameHandler, panda_file::File::EntityId m… in GetLocalVariables()
1660 bool DebuggerImpl::IsWithinVariableScope(const LocalVariableInfo &localVariableInfo, uint32_t bcOff… in IsWithinVariableScope()
1665 bool DebuggerImpl::IsVariableSkipped(const std::string &varName) in IsVariableSkipped()
1670 std::unique_ptr<Scope> DebuggerImpl::GetGlobalScopeChain() in GetGlobalScopeChain()
1687 void DebuggerImpl::UpdateScopeObject(const FrameHandler *frameHandler, in UpdateScopeObject()
1709 void DebuggerImpl::ClearSingleStepper() in ClearSingleStepper()
1717 std::optional<std::string> DebuggerImpl::CmptEvaluateValue(CallFrameId callFrameId, const std::stri… in CmptEvaluateValue()
1768 Local<JSValueRef> DebuggerImpl::ConvertToLocal(const std::string &varValue) in ConvertToLocal()
1791 bool DebuggerImpl::DecodeAndCheckBase64(const std::string &src, std::vector<uint8_t> &dest) in DecodeAndCheckBase64()
1803 Local<FunctionRef> DebuggerImpl::CheckAndGenerateCondFunc(const std::optional<std::string> &conditi… in CheckAndGenerateCondFunc()