Documentation ¶
Index ¶
- type BreakLocation
- type BreakLocationType
- type BreakpointId
- type CallFrame
- type CallFrameId
- type CommandContinueToLocation
- type CommandDisable
- type CommandEnable
- type CommandEvaluateOnCallFrame
- type CommandGetPossibleBreakpoints
- type CommandGetScriptSource
- type CommandGetStackTrace
- type CommandPause
- type CommandPauseOnAsyncCall
- type CommandRemoveBreakpoint
- type CommandRestartFrame
- type CommandResume
- type CommandSearchInContent
- type CommandSetAsyncCallStackDepth
- type CommandSetBlackboxPatterns
- type CommandSetBlackboxedRanges
- type CommandSetBreakpoint
- type CommandSetBreakpointByUrl
- type CommandSetBreakpointsActive
- type CommandSetPauseOnExceptions
- type CommandSetReturnValue
- type CommandSetScriptSource
- type CommandSetSkipAllPauses
- type CommandSetVariableValue
- type CommandStepInto
- type CommandStepOut
- type CommandStepOver
- type EventBreakpointResolved
- type EventPaused
- type EventResumed
- type EventScriptFailedToParse
- type EventScriptParsed
- type Location
- type PausedReasonType
- type ResponseEvaluateOnCallFrame
- type ResponseGetPossibleBreakpoints
- type ResponseGetScriptSource
- type ResponseGetStackTrace
- type ResponseRestartFrame
- type ResponseSearchInContent
- type ResponseSetBreakpoint
- type ResponseSetBreakpointByUrl
- type ResponseSetScriptSource
- type Scope
- type ScopeType
- type ScriptPosition
- type SearchMatch
- type StateType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BreakLocation ¶
type BreakLocation struct { ScriptId *runtime.ScriptId `json:"scriptId"` LineNumber int `json:"lineNumber"` ColumnNumber int `json:"columnNumber"` Type *BreakLocationType `json:"type"` }
type BreakLocationType ¶
type BreakLocationType string
const ( BreakLocationTypeDebuggerStatement BreakLocationType = "debuggerStatement" BreakLocationTypeCall BreakLocationType = "call" BreakLocationTypeReturn BreakLocationType = "return" )
type BreakpointId ¶
type BreakpointId string
type CallFrame ¶
type CallFrame struct { CallFrameId *CallFrameId `json:"callFrameId"` FunctionName string `json:"functionName"` FunctionLocation *Location `json:"functionLocation"` Location *Location `json:"location"` Url string `json:"url"` ScopeChain []*Scope `json:"scopeChain"` This *runtime.RemoteObject `json:"this"` ReturnValue *runtime.RemoteObject `json:"returnValue"` }
type CallFrameId ¶
type CallFrameId string
type CommandContinueToLocation ¶
type CommandContinueToLocation struct { Location Location `json:"location"` TargetCallFrames *runtime.TargetCallFramesType `json:"targetCallFrames"` }
type CommandDisable ¶
type CommandDisable struct{}
type CommandEnable ¶
type CommandEnable struct {
DebuggerId *runtime.UniqueDebuggerId `json:"debuggerId"`
}
type CommandEvaluateOnCallFrame ¶
type CommandEvaluateOnCallFrame struct { CallFrameId *CallFrameId `json:"callFrameId"` Expression string `json:"expression"` ObjectGroup string `json:"objectGroup"` IncludeCommandLineAPI bool `json:"includeCommandLineAPI"` Silent bool `json:"silent"` ReturnByValue bool `json:"returnByValue"` GeneratePreview bool `json:"generatePreview"` ThrowOnSideEffect bool `json:"throwOnSideEffect"` }
type CommandGetScriptSource ¶
type CommandGetStackTrace ¶
type CommandGetStackTrace struct {
StackTraceId *runtime.StackTraceId `json:"stackTraceId"`
}
type CommandPause ¶
type CommandPause struct { }
type CommandPauseOnAsyncCall ¶
type CommandPauseOnAsyncCall struct {
ParentStackTraceId *runtime.StackTraceId `json:"parentStackTraceId"`
}
type CommandRemoveBreakpoint ¶
type CommandRemoveBreakpoint struct {
// contains filtered or unexported fields
}
type CommandRestartFrame ¶
type CommandRestartFrame struct {
// contains filtered or unexported fields
}
type CommandResume ¶
type CommandResume struct { }
type CommandSearchInContent ¶
type CommandSetAsyncCallStackDepth ¶
type CommandSetAsyncCallStackDepth struct {
MaxDepth int `json:"maxDepth"`
}
type CommandSetBlackboxPatterns ¶
type CommandSetBlackboxPatterns struct {
Patterns []string `json:"patterns"`
}
type CommandSetBlackboxedRanges ¶
type CommandSetBlackboxedRanges struct { ScriptId *runtime.ScriptId `json:"scriptId"` Positions []*ScriptPosition `json:"positions"` }
type CommandSetBreakpoint ¶
type CommandSetBreakpointsActive ¶
type CommandSetBreakpointsActive struct {
Active bool `json:"active"`
}
type CommandSetPauseOnExceptions ¶
type CommandSetPauseOnExceptions struct {
State *StateType `json:"state"`
}
type CommandSetReturnValue ¶
type CommandSetReturnValue struct {
NewValue *runtime.CallArgument `json:"newValue"`
}
type CommandSetScriptSource ¶
type CommandSetSkipAllPauses ¶
type CommandSetSkipAllPauses struct {
Skip bool `json:"skip"`
}
type CommandSetVariableValue ¶
type CommandSetVariableValue struct { ScopeNumber int `json:"scopeNumber"` VariableName string `json:"variableName"` NewValue *runtime.CallArgument `json:"newValue"` CallFrameId *CallFrameId `json:"callFrameId"` }
type CommandStepInto ¶
type CommandStepInto struct {
BreakOnAsyncCall bool `json:"breakOnAsyncCall"`
}
type CommandStepOut ¶
type CommandStepOut struct { }
type CommandStepOver ¶
type CommandStepOver struct { }
type EventBreakpointResolved ¶
type EventBreakpointResolved struct { BreakpointId *BreakpointId `json:"breakpointId"` Location *Location `json:"location"` }
type EventPaused ¶
type EventPaused struct { CallFrames []*CallFrame `json:"callFrames"` Reason *PausedReasonType `json:"reason"` Data interface{} `json:"data"` HitBreakpoints []string `json:"hitBreakpoints"` AsyncStackTrace *runtime.StackTrace `json:"asyncStackTrace"` AsyncStackTraceId *runtime.StackTraceId `json:"asyncStackTraceId"` AsyncCallStackTraceId *runtime.StackTraceId `json:"asyncCallStackTraceId"` }
type EventResumed ¶
type EventResumed struct { }
type EventScriptFailedToParse ¶
type EventScriptFailedToParse struct { ScriptId *runtime.ScriptId `json:"scriptId"` Url string `json:"url"` StartLine int `json:"startLine"` StartColumn int `json:"startColumn"` EndLine int `json:"endLine"` EndColumn int `json:"endColumn"` ExecutionContextId *runtime.ExecutionContextId `json:"executionContextId"` Hash string `json:"hash"` ExecutionContextAuxData interface{} `json:"executionContextAuxData"` SourceMapURL string `json:"sourceMapURL"` HasSourceURL bool `json:"hasSourceURL"` IsModule bool `json:"isModule"` Length int `json:"length"` StackTrace *runtime.StackTrace `json:"stackTrace"` }
type EventScriptParsed ¶
type EventScriptParsed struct { ScriptId *runtime.ScriptId `json:"scriptId"` Url string `json:"url"` StartLine int `json:"startLine"` StartColumn int `json:"startColumn"` EndLine int `json:"endLine"` EndColumn int `json:"endColumn"` ExecutionContextId *runtime.ExecutionContextId `json:"executionContextId"` Hash string `json:"hash"` ExecutionContextAuxData interface{} `json:"executionContextAuxData"` IsLiveEdit bool `json:"isLiveEdit"` SourceMapURL string `json:"sourceMapURL"` HasSourceURL bool `json:"hasSourceURL"` IsModule bool `json:"isModule"` Length int `json:"length"` StackTrace *runtime.StackTrace `json:"stackTrace"` }
type PausedReasonType ¶
type PausedReasonType string
const ( PausedReasonTypeXhr PausedReasonType = "XHR" PausedReasonTypeDom PausedReasonType = "DOM" PausedReasonTypeEventListener PausedReasonType = "EventListener" PausedReasonTypeException PausedReasonType = "exception" PausedReasonTypeAssert PausedReasonType = "assert" PausedReasonTypeDebugCommand PausedReasonType = "debugCommand" PausedReasonTypePromiseRejection PausedReasonType = "promiseRejection" PausedReasonTypeOom PausedReasonType = "OOM" PausedReasonTypeOther PausedReasonType = "other" PausedReasonTypeAmbiguous PausedReasonType = "ambiguous" )
type ResponseEvaluateOnCallFrame ¶
type ResponseEvaluateOnCallFrame struct { Result *runtime.RemoteObject `json:"result"` ExceptionDetails *runtime.ExceptionDetails `json:"exceptionDetails"` }
type ResponseGetPossibleBreakpoints ¶
type ResponseGetPossibleBreakpoints struct {
Locations []*BreakLocation `json:"locations"`
}
type ResponseGetScriptSource ¶
type ResponseGetScriptSource struct {
ScriptSource string `json:"scriptSource"`
}
type ResponseGetStackTrace ¶
type ResponseGetStackTrace struct {
StackTrace *runtime.StackTrace `json:"stackTrace"`
}
type ResponseRestartFrame ¶
type ResponseRestartFrame struct { CallFrames []*CallFrame `json:"callFrames"` AsyncStackTrace *runtime.StackTrace `json:"asyncStackTrace"` AsyncStackTraceId *runtime.StackTraceId `json:"asyncStackTraceId"` }
type ResponseSearchInContent ¶
type ResponseSearchInContent struct {
Result []*SearchMatch `json:"result"`
}
type ResponseSetBreakpoint ¶
type ResponseSetBreakpoint struct { BreakpointId *BreakpointId `json:"breakpointId"` ActualLocation *Location `json:"actualLocation"` }
type ResponseSetBreakpointByUrl ¶
type ResponseSetBreakpointByUrl struct { BreakpointId *BreakpointId `json:"breakpointId"` Locations []*Location `json:"locations"` }
type ResponseSetScriptSource ¶
type ResponseSetScriptSource struct { CallFrames []*CallFrame `json:"callFrames"` StateChanged bool `json:"stackChanged"` AsyncStackTrace *runtime.StackTrace `json:"asyncStackTrace"` AsyncStackTraceId *runtime.StackTraceId `json:"asyncStackTraceId"` ExceptionDetails *runtime.ExceptionDetails `json:"exceptionDetails"` }
type ScopeType ¶
type ScopeType string
const ( ScopeTypeGlobal ScopeType = "global" ScopeTypeLocal ScopeType = "local" ScopeTypeWith ScopeType = "with" ScopeTypeClosure ScopeType = "closure" ScopeTypeCatch ScopeType = "catch" ScopeTypeBlock ScopeType = "block" ScopeTypeScript ScopeType = "script" ScopeTypeEval ScopeType = "eval" ScopeTypeModule ScopeType = "module" )
type ScriptPosition ¶
type SearchMatch ¶
Click to show internal directories.
Click to hide internal directories.