Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandDebuggerContinueToLocation + const CommandDebuggerDisable + const CommandDebuggerEnable + const CommandDebuggerEvaluateOnCallFrame + const CommandDebuggerGetPossibleBreakpoints + const CommandDebuggerGetScriptSource + const CommandDebuggerGetStackTrace + const CommandDebuggerGetWasmBytecode + const CommandDebuggerPause + const CommandDebuggerPauseOnAsyncCall + const CommandDebuggerRemoveBreakpoint + const CommandDebuggerRestartFrame + const CommandDebuggerResume + const CommandDebuggerSearchInContent + const CommandDebuggerSetAsyncCallStackDepth + const CommandDebuggerSetBlackboxPatterns + const CommandDebuggerSetBlackboxedRanges + const CommandDebuggerSetBreakpoint + const CommandDebuggerSetBreakpointByUrl + const CommandDebuggerSetBreakpointOnFunctionCall + const CommandDebuggerSetBreakpointsActive + const CommandDebuggerSetInstrumentationBreakpoint + const CommandDebuggerSetPauseOnExceptions + const CommandDebuggerSetReturnValue + const CommandDebuggerSetScriptSource + const CommandDebuggerSetSkipAllPauses + const CommandDebuggerSetVariableValue + const CommandDebuggerStepInto + const CommandDebuggerStepOut + const CommandDebuggerStepOver + const EventDebuggerBreakpointResolved + const EventDebuggerPaused + const EventDebuggerResumed + const EventDebuggerScriptFailedToParse + const EventDebuggerScriptParsed + var EventConstants = map[string]Unmarshaler + func GetEventReply(event string) (json.Unmarshaler, bool) + type BreakLocation struct + ColumnNumber int + LineNumber int + ScriptID runtime.ScriptID + Type string + type BreakpointID string + type BreakpointResolvedReply struct + BreakpointID BreakpointID + Location Location + func (a *BreakpointResolvedReply) GetFrameID() string + func (a *BreakpointResolvedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *BreakpointResolvedReply) UnmarshalJSON(b []byte) error + type CallFrame struct + CallFrameID CallFrameID + FunctionLocation *Location + FunctionName string + Location Location + ReturnValue *runtime.RemoteObject + ScopeChain []Scope + This runtime.RemoteObject + URL string + type CallFrameID string + type ContinueToLocationArgs struct + Location Location + TargetCallFrames string + func (a *ContinueToLocationArgs) MarshalJSON() ([]byte, error) + func (a *ContinueToLocationArgs) UnmarshalJSON(b []byte) error + type ContinueToLocationReply struct + func (a *ContinueToLocationReply) GetFrameID() string + func (a *ContinueToLocationReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ContinueToLocationReply) UnmarshalJSON(b []byte) error + type DisableArgs struct + func (a *DisableArgs) MarshalJSON() ([]byte, error) + func (a *DisableArgs) UnmarshalJSON(b []byte) error + type DisableReply struct + func (a *DisableReply) GetFrameID() string + func (a *DisableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DisableReply) UnmarshalJSON(b []byte) error + type EnableArgs struct + MaxScriptsCacheSize float64 + func (a *EnableArgs) MarshalJSON() ([]byte, error) + func (a *EnableArgs) UnmarshalJSON(b []byte) error + type EnableReply struct + DebuggerID runtime.UniqueDebuggerID + func (a *EnableReply) GetFrameID() string + func (a *EnableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EnableReply) UnmarshalJSON(b []byte) error + type EvaluateOnCallFrameArgs struct + CallFrameID CallFrameID + Expression string + GeneratePreview bool + IncludeCommandLineAPI bool + ObjectGroup string + ReturnByValue bool + Silent bool + ThrowOnSideEffect bool + Timeout *runtime.TimeDelta + func (a *EvaluateOnCallFrameArgs) MarshalJSON() ([]byte, error) + func (a *EvaluateOnCallFrameArgs) UnmarshalJSON(b []byte) error + type EvaluateOnCallFrameReply struct + ExceptionDetails *runtime.ExceptionDetails + Result runtime.RemoteObject + func (a *EvaluateOnCallFrameReply) GetFrameID() string + func (a *EvaluateOnCallFrameReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EvaluateOnCallFrameReply) UnmarshalJSON(b []byte) error + type GetPossibleBreakpointsArgs struct + End *Location + RestrictToFunction bool + Start Location + func (a *GetPossibleBreakpointsArgs) MarshalJSON() ([]byte, error) + func (a *GetPossibleBreakpointsArgs) UnmarshalJSON(b []byte) error + type GetPossibleBreakpointsReply struct + Locations []BreakLocation + func (a *GetPossibleBreakpointsReply) GetFrameID() string + func (a *GetPossibleBreakpointsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetPossibleBreakpointsReply) UnmarshalJSON(b []byte) error + type GetScriptSourceArgs struct + ScriptID runtime.ScriptID + func (a *GetScriptSourceArgs) MarshalJSON() ([]byte, error) + func (a *GetScriptSourceArgs) UnmarshalJSON(b []byte) error + type GetScriptSourceReply struct + Bytecode string + ScriptSource string + func (a *GetScriptSourceReply) GetFrameID() string + func (a *GetScriptSourceReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetScriptSourceReply) UnmarshalJSON(b []byte) error + type GetStackTraceArgs struct + StackTraceID runtime.StackTraceID + func (a *GetStackTraceArgs) MarshalJSON() ([]byte, error) + func (a *GetStackTraceArgs) UnmarshalJSON(b []byte) error + type GetStackTraceReply struct + StackTrace runtime.StackTrace + func (a *GetStackTraceReply) GetFrameID() string + func (a *GetStackTraceReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetStackTraceReply) UnmarshalJSON(b []byte) error + type GetWasmBytecodeArgs struct + ScriptID runtime.ScriptID + func (a *GetWasmBytecodeArgs) MarshalJSON() ([]byte, error) + func (a *GetWasmBytecodeArgs) UnmarshalJSON(b []byte) error + type GetWasmBytecodeReply struct + Bytecode string + func (a *GetWasmBytecodeReply) GetFrameID() string + func (a *GetWasmBytecodeReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetWasmBytecodeReply) UnmarshalJSON(b []byte) error + type Location struct + ColumnNumber int + LineNumber int + ScriptID runtime.ScriptID + type PauseArgs struct + func (a *PauseArgs) MarshalJSON() ([]byte, error) + func (a *PauseArgs) UnmarshalJSON(b []byte) error + type PauseOnAsyncCallArgs struct + ParentStackTraceID runtime.StackTraceID + func (a *PauseOnAsyncCallArgs) MarshalJSON() ([]byte, error) + func (a *PauseOnAsyncCallArgs) UnmarshalJSON(b []byte) error + type PauseOnAsyncCallReply struct + func (a *PauseOnAsyncCallReply) GetFrameID() string + func (a *PauseOnAsyncCallReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *PauseOnAsyncCallReply) UnmarshalJSON(b []byte) error + type PauseReply struct + func (a *PauseReply) GetFrameID() string + func (a *PauseReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *PauseReply) UnmarshalJSON(b []byte) error + type PausedReply struct + AsyncCallStackTraceID runtime.StackTraceID + AsyncStackTrace *runtime.StackTrace + AsyncStackTraceID runtime.StackTraceID + CallFrames []CallFrame + Data *json.RawMessage + HitBreakpoints *[]string + Reason string + func (a *PausedReply) GetFrameID() string + func (a *PausedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *PausedReply) UnmarshalJSON(b []byte) error + type RemoveBreakpointArgs struct + BreakpointID BreakpointID + func (a *RemoveBreakpointArgs) MarshalJSON() ([]byte, error) + func (a *RemoveBreakpointArgs) UnmarshalJSON(b []byte) error + type RemoveBreakpointReply struct + func (a *RemoveBreakpointReply) GetFrameID() string + func (a *RemoveBreakpointReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *RemoveBreakpointReply) UnmarshalJSON(b []byte) error + type RestartFrameArgs struct + CallFrameID CallFrameID + func (a *RestartFrameArgs) MarshalJSON() ([]byte, error) + func (a *RestartFrameArgs) UnmarshalJSON(b []byte) error + type RestartFrameReply struct + AsyncStackTrace *runtime.StackTrace + AsyncStackTraceID runtime.StackTraceID + CallFrames []CallFrame + func (a *RestartFrameReply) GetFrameID() string + func (a *RestartFrameReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *RestartFrameReply) UnmarshalJSON(b []byte) error + type ResumeArgs struct + TerminateOnResume bool + func (a *ResumeArgs) MarshalJSON() ([]byte, error) + func (a *ResumeArgs) UnmarshalJSON(b []byte) error + type ResumeReply struct + func (a *ResumeReply) GetFrameID() string + func (a *ResumeReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ResumeReply) UnmarshalJSON(b []byte) error + type ResumedReply struct + func (a *ResumedReply) GetFrameID() string + func (a *ResumedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ResumedReply) UnmarshalJSON(b []byte) error + type Scope struct + EndLocation *Location + Name string + Object runtime.RemoteObject + StartLocation *Location + Type string + type ScriptFailedToParseReply struct + CodeOffset int + EndColumn int + EndLine int + ExecutionContextAuxData *json.RawMessage + ExecutionContextID runtime.ExecutionContextID + HasSourceURL bool + Hash string + IsModule bool + Length int + ScriptID runtime.ScriptID + ScriptLanguage *ScriptLanguage + SourceMapURL string + StackTrace *runtime.StackTrace + StartColumn int + StartLine int + URL string + func (a *ScriptFailedToParseReply) GetFrameID() string + func (a *ScriptFailedToParseReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ScriptFailedToParseReply) UnmarshalJSON(b []byte) error + type ScriptLanguage string + const ScriptLanguageJavaScript + const ScriptLanguageNotSet + const ScriptLanguageWebAssembly + func (e ScriptLanguage) String() string + func (e ScriptLanguage) Valid() bool + type ScriptParsedReply struct + CodeOffset int + EndColumn int + EndLine int + ExecutionContextAuxData *json.RawMessage + ExecutionContextID runtime.ExecutionContextID + HasSourceURL bool + Hash string + IsLiveEdit bool + IsModule bool + Length int + ScriptID runtime.ScriptID + ScriptLanguage *ScriptLanguage + SourceMapURL string + StackTrace *runtime.StackTrace + StartColumn int + StartLine int + URL string + func (a *ScriptParsedReply) GetFrameID() string + func (a *ScriptParsedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ScriptParsedReply) UnmarshalJSON(b []byte) error + type ScriptPosition struct + ColumnNumber int + LineNumber int + type SearchInContentArgs struct + CaseSensitive bool + IsRegex bool + Query string + ScriptID runtime.ScriptID + func (a *SearchInContentArgs) MarshalJSON() ([]byte, error) + func (a *SearchInContentArgs) UnmarshalJSON(b []byte) error + type SearchInContentReply struct + Result []SearchMatch + func (a *SearchInContentReply) GetFrameID() string + func (a *SearchInContentReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SearchInContentReply) UnmarshalJSON(b []byte) error + type SearchMatch struct + LineContent string + LineNumber float64 + type SetAsyncCallStackDepthArgs struct + MaxDepth int + func (a *SetAsyncCallStackDepthArgs) MarshalJSON() ([]byte, error) + func (a *SetAsyncCallStackDepthArgs) UnmarshalJSON(b []byte) error + type SetAsyncCallStackDepthReply struct + func (a *SetAsyncCallStackDepthReply) GetFrameID() string + func (a *SetAsyncCallStackDepthReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetAsyncCallStackDepthReply) UnmarshalJSON(b []byte) error + type SetBlackboxPatternsArgs struct + Patterns []string + func (a *SetBlackboxPatternsArgs) MarshalJSON() ([]byte, error) + func (a *SetBlackboxPatternsArgs) UnmarshalJSON(b []byte) error + type SetBlackboxPatternsReply struct + func (a *SetBlackboxPatternsReply) GetFrameID() string + func (a *SetBlackboxPatternsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetBlackboxPatternsReply) UnmarshalJSON(b []byte) error + type SetBlackboxedRangesArgs struct + Positions []ScriptPosition + ScriptID runtime.ScriptID + func (a *SetBlackboxedRangesArgs) MarshalJSON() ([]byte, error) + func (a *SetBlackboxedRangesArgs) UnmarshalJSON(b []byte) error + type SetBlackboxedRangesReply struct + func (a *SetBlackboxedRangesReply) GetFrameID() string + func (a *SetBlackboxedRangesReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetBlackboxedRangesReply) UnmarshalJSON(b []byte) error + type SetBreakpointArgs struct + Condition string + Location Location + func (a *SetBreakpointArgs) MarshalJSON() ([]byte, error) + func (a *SetBreakpointArgs) UnmarshalJSON(b []byte) error + type SetBreakpointByURLArgs struct + ColumnNumber int + Condition string + LineNumber int + ScriptHash string + URL string + URLRegex string + func (a *SetBreakpointByURLArgs) MarshalJSON() ([]byte, error) + func (a *SetBreakpointByURLArgs) UnmarshalJSON(b []byte) error + type SetBreakpointByURLReply struct + BreakpointID BreakpointID + Locations []Location + func (a *SetBreakpointByURLReply) GetFrameID() string + func (a *SetBreakpointByURLReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetBreakpointByURLReply) UnmarshalJSON(b []byte) error + type SetBreakpointOnFunctionCallArgs struct + Condition string + ObjectID shared.RemoteObjectID + func (a *SetBreakpointOnFunctionCallArgs) MarshalJSON() ([]byte, error) + func (a *SetBreakpointOnFunctionCallArgs) UnmarshalJSON(b []byte) error + type SetBreakpointOnFunctionCallReply struct + BreakpointID BreakpointID + func (a *SetBreakpointOnFunctionCallReply) GetFrameID() string + func (a *SetBreakpointOnFunctionCallReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetBreakpointOnFunctionCallReply) UnmarshalJSON(b []byte) error + type SetBreakpointReply struct + ActualLocation Location + BreakpointID BreakpointID + func (a *SetBreakpointReply) GetFrameID() string + func (a *SetBreakpointReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetBreakpointReply) UnmarshalJSON(b []byte) error + type SetBreakpointsActiveArgs struct + Active bool + func (a *SetBreakpointsActiveArgs) MarshalJSON() ([]byte, error) + func (a *SetBreakpointsActiveArgs) UnmarshalJSON(b []byte) error + type SetBreakpointsActiveReply struct + func (a *SetBreakpointsActiveReply) GetFrameID() string + func (a *SetBreakpointsActiveReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetBreakpointsActiveReply) UnmarshalJSON(b []byte) error + type SetInstrumentationBreakpointArgs struct + Instrumentation string + func (a *SetInstrumentationBreakpointArgs) MarshalJSON() ([]byte, error) + func (a *SetInstrumentationBreakpointArgs) UnmarshalJSON(b []byte) error + type SetInstrumentationBreakpointReply struct + BreakpointID BreakpointID + func (a *SetInstrumentationBreakpointReply) GetFrameID() string + func (a *SetInstrumentationBreakpointReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetInstrumentationBreakpointReply) UnmarshalJSON(b []byte) error + type SetPauseOnExceptionsArgs struct + State string + func (a *SetPauseOnExceptionsArgs) MarshalJSON() ([]byte, error) + func (a *SetPauseOnExceptionsArgs) UnmarshalJSON(b []byte) error + type SetPauseOnExceptionsReply struct + func (a *SetPauseOnExceptionsReply) GetFrameID() string + func (a *SetPauseOnExceptionsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetPauseOnExceptionsReply) UnmarshalJSON(b []byte) error + type SetReturnValueArgs struct + NewValue runtime.CallArgument + func (a *SetReturnValueArgs) MarshalJSON() ([]byte, error) + func (a *SetReturnValueArgs) UnmarshalJSON(b []byte) error + type SetReturnValueReply struct + func (a *SetReturnValueReply) GetFrameID() string + func (a *SetReturnValueReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetReturnValueReply) UnmarshalJSON(b []byte) error + type SetScriptSourceArgs struct + DryRun bool + ScriptID runtime.ScriptID + ScriptSource string + func (a *SetScriptSourceArgs) MarshalJSON() ([]byte, error) + func (a *SetScriptSourceArgs) UnmarshalJSON(b []byte) error + type SetScriptSourceReply struct + AsyncStackTrace *runtime.StackTrace + AsyncStackTraceID runtime.StackTraceID + CallFrames *[]CallFrame + ExceptionDetails *runtime.ExceptionDetails + StackChanged bool + func (a *SetScriptSourceReply) GetFrameID() string + func (a *SetScriptSourceReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetScriptSourceReply) UnmarshalJSON(b []byte) error + type SetSkipAllPausesArgs struct + Skip bool + func (a *SetSkipAllPausesArgs) MarshalJSON() ([]byte, error) + func (a *SetSkipAllPausesArgs) UnmarshalJSON(b []byte) error + type SetSkipAllPausesReply struct + func (a *SetSkipAllPausesReply) GetFrameID() string + func (a *SetSkipAllPausesReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetSkipAllPausesReply) UnmarshalJSON(b []byte) error + type SetVariableValueArgs struct + CallFrameID CallFrameID + NewValue runtime.CallArgument + ScopeNumber int + VariableName string + func (a *SetVariableValueArgs) MarshalJSON() ([]byte, error) + func (a *SetVariableValueArgs) UnmarshalJSON(b []byte) error + type SetVariableValueReply struct + func (a *SetVariableValueReply) GetFrameID() string + func (a *SetVariableValueReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetVariableValueReply) UnmarshalJSON(b []byte) error + type StepIntoArgs struct + BreakOnAsyncCall bool + func (a *StepIntoArgs) MarshalJSON() ([]byte, error) + func (a *StepIntoArgs) UnmarshalJSON(b []byte) error + type StepIntoReply struct + func (a *StepIntoReply) GetFrameID() string + func (a *StepIntoReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StepIntoReply) UnmarshalJSON(b []byte) error + type StepOutArgs struct + func (a *StepOutArgs) MarshalJSON() ([]byte, error) + func (a *StepOutArgs) UnmarshalJSON(b []byte) error + type StepOutReply struct + func (a *StepOutReply) GetFrameID() string + func (a *StepOutReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StepOutReply) UnmarshalJSON(b []byte) error + type StepOverArgs struct + func (a *StepOverArgs) MarshalJSON() ([]byte, error) + func (a *StepOverArgs) UnmarshalJSON(b []byte) error + type StepOverReply struct + func (a *StepOverReply) GetFrameID() string + func (a *StepOverReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StepOverReply) UnmarshalJSON(b []byte) error + type Unmarshaler func() json.Unmarshaler