Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandProfilerDisable + const CommandProfilerDisableRuntimeCallStats + const CommandProfilerEnable + const CommandProfilerEnableRuntimeCallStats + const CommandProfilerGetBestEffortCoverage + const CommandProfilerGetRuntimeCallStats + const CommandProfilerSetSamplingInterval + const CommandProfilerStart + const CommandProfilerStartPreciseCoverage + const CommandProfilerStartTypeProfile + const CommandProfilerStop + const CommandProfilerStopPreciseCoverage + const CommandProfilerStopTypeProfile + const CommandProfilerTakePreciseCoverage + const CommandProfilerTakeTypeProfile + const EventProfilerConsoleProfileFinished + const EventProfilerConsoleProfileStarted + const EventProfilerPreciseCoverageDeltaUpdate + var EventConstants = map[string]Unmarshaler + func GetEventReply(event string) (json.Unmarshaler, bool) + type ConsoleProfileFinishedReply struct + ID string + Location debugger.Location + Profile Profile + Title string + func (a *ConsoleProfileFinishedReply) GetFrameID() string + func (a *ConsoleProfileFinishedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ConsoleProfileFinishedReply) UnmarshalJSON(b []byte) error + type ConsoleProfileStartedReply struct + ID string + Location debugger.Location + Title string + func (a *ConsoleProfileStartedReply) GetFrameID() string + func (a *ConsoleProfileStartedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ConsoleProfileStartedReply) UnmarshalJSON(b []byte) error + type CounterInfo struct + Name string + Value int + type CoverageRange struct + Count int + EndOffset int + StartOffset int + 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 DisableRuntimeCallStatsArgs struct + func (a *DisableRuntimeCallStatsArgs) MarshalJSON() ([]byte, error) + func (a *DisableRuntimeCallStatsArgs) UnmarshalJSON(b []byte) error + type DisableRuntimeCallStatsReply struct + func (a *DisableRuntimeCallStatsReply) GetFrameID() string + func (a *DisableRuntimeCallStatsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DisableRuntimeCallStatsReply) UnmarshalJSON(b []byte) error + type EnableArgs struct + func (a *EnableArgs) MarshalJSON() ([]byte, error) + func (a *EnableArgs) UnmarshalJSON(b []byte) error + type EnableReply struct + func (a *EnableReply) GetFrameID() string + func (a *EnableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EnableReply) UnmarshalJSON(b []byte) error + type EnableRuntimeCallStatsArgs struct + func (a *EnableRuntimeCallStatsArgs) MarshalJSON() ([]byte, error) + func (a *EnableRuntimeCallStatsArgs) UnmarshalJSON(b []byte) error + type EnableRuntimeCallStatsReply struct + func (a *EnableRuntimeCallStatsReply) GetFrameID() string + func (a *EnableRuntimeCallStatsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EnableRuntimeCallStatsReply) UnmarshalJSON(b []byte) error + type FunctionCoverage struct + FunctionName string + IsBlockCoverage bool + Ranges []CoverageRange + type GetBestEffortCoverageArgs struct + func (a *GetBestEffortCoverageArgs) MarshalJSON() ([]byte, error) + func (a *GetBestEffortCoverageArgs) UnmarshalJSON(b []byte) error + type GetBestEffortCoverageReply struct + Result []ScriptCoverage + func (a *GetBestEffortCoverageReply) GetFrameID() string + func (a *GetBestEffortCoverageReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetBestEffortCoverageReply) UnmarshalJSON(b []byte) error + type GetRuntimeCallStatsArgs struct + func (a *GetRuntimeCallStatsArgs) MarshalJSON() ([]byte, error) + func (a *GetRuntimeCallStatsArgs) UnmarshalJSON(b []byte) error + type GetRuntimeCallStatsReply struct + Result []CounterInfo + func (a *GetRuntimeCallStatsReply) GetFrameID() string + func (a *GetRuntimeCallStatsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetRuntimeCallStatsReply) UnmarshalJSON(b []byte) error + type PositionTickInfo struct + Line int + Ticks int + type PreciseCoverageDeltaUpdateReply struct + Occassion string + Result []ScriptCoverage + Timestamp float64 + func (a *PreciseCoverageDeltaUpdateReply) GetFrameID() string + func (a *PreciseCoverageDeltaUpdateReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *PreciseCoverageDeltaUpdateReply) UnmarshalJSON(b []byte) error + type Profile struct + EndTime float64 + Nodes []ProfileNode + Samples *[]int + StartTime float64 + TimeDeltas *[]int + type ProfileNode struct + CallFrame runtime.CallFrame + Children *[]int + DeoptReason string + HitCount int + ID int + PositionTicks *[]PositionTickInfo + type ScriptCoverage struct + Functions []FunctionCoverage + ScriptID runtime.ScriptID + URL string + type ScriptTypeProfile struct + Entries []TypeProfileEntry + ScriptID runtime.ScriptID + URL string + type SetSamplingIntervalArgs struct + Interval int + func (a *SetSamplingIntervalArgs) MarshalJSON() ([]byte, error) + func (a *SetSamplingIntervalArgs) UnmarshalJSON(b []byte) error + type SetSamplingIntervalReply struct + func (a *SetSamplingIntervalReply) GetFrameID() string + func (a *SetSamplingIntervalReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetSamplingIntervalReply) UnmarshalJSON(b []byte) error + type StartArgs struct + func (a *StartArgs) MarshalJSON() ([]byte, error) + func (a *StartArgs) UnmarshalJSON(b []byte) error + type StartPreciseCoverageArgs struct + AllowTriggeredUpdates bool + CallCount bool + Detailed bool + func (a *StartPreciseCoverageArgs) MarshalJSON() ([]byte, error) + func (a *StartPreciseCoverageArgs) UnmarshalJSON(b []byte) error + type StartPreciseCoverageReply struct + Timestamp float64 + func (a *StartPreciseCoverageReply) GetFrameID() string + func (a *StartPreciseCoverageReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StartPreciseCoverageReply) UnmarshalJSON(b []byte) error + type StartReply struct + func (a *StartReply) GetFrameID() string + func (a *StartReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StartReply) UnmarshalJSON(b []byte) error + type StartTypeProfileArgs struct + func (a *StartTypeProfileArgs) MarshalJSON() ([]byte, error) + func (a *StartTypeProfileArgs) UnmarshalJSON(b []byte) error + type StartTypeProfileReply struct + func (a *StartTypeProfileReply) GetFrameID() string + func (a *StartTypeProfileReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StartTypeProfileReply) UnmarshalJSON(b []byte) error + type StopArgs struct + func (a *StopArgs) MarshalJSON() ([]byte, error) + func (a *StopArgs) UnmarshalJSON(b []byte) error + type StopPreciseCoverageArgs struct + func (a *StopPreciseCoverageArgs) MarshalJSON() ([]byte, error) + func (a *StopPreciseCoverageArgs) UnmarshalJSON(b []byte) error + type StopPreciseCoverageReply struct + func (a *StopPreciseCoverageReply) GetFrameID() string + func (a *StopPreciseCoverageReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StopPreciseCoverageReply) UnmarshalJSON(b []byte) error + type StopReply struct + Profile Profile + func (a *StopReply) GetFrameID() string + func (a *StopReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StopReply) UnmarshalJSON(b []byte) error + type StopTypeProfileArgs struct + func (a *StopTypeProfileArgs) MarshalJSON() ([]byte, error) + func (a *StopTypeProfileArgs) UnmarshalJSON(b []byte) error + type StopTypeProfileReply struct + func (a *StopTypeProfileReply) GetFrameID() string + func (a *StopTypeProfileReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StopTypeProfileReply) UnmarshalJSON(b []byte) error + type TakePreciseCoverageArgs struct + func (a *TakePreciseCoverageArgs) MarshalJSON() ([]byte, error) + func (a *TakePreciseCoverageArgs) UnmarshalJSON(b []byte) error + type TakePreciseCoverageReply struct + Result []ScriptCoverage + Timestamp float64 + func (a *TakePreciseCoverageReply) GetFrameID() string + func (a *TakePreciseCoverageReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *TakePreciseCoverageReply) UnmarshalJSON(b []byte) error + type TakeTypeProfileArgs struct + func (a *TakeTypeProfileArgs) MarshalJSON() ([]byte, error) + func (a *TakeTypeProfileArgs) UnmarshalJSON(b []byte) error + type TakeTypeProfileReply struct + Result []ScriptTypeProfile + func (a *TakeTypeProfileReply) GetFrameID() string + func (a *TakeTypeProfileReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *TakeTypeProfileReply) UnmarshalJSON(b []byte) error + type TypeObject struct + Name string + type TypeProfileEntry struct + Offset int + Types []TypeObject + type Unmarshaler func() json.Unmarshaler