func (c *HeapProfiler) AddInspectedHeapObject(heapObjectId string) (*gcdmessage.ChromeResponse, error) {
	var v HeapProfilerAddInspectedHeapObjectParams
	v.HeapObjectId = heapObjectId
	return c.AddInspectedHeapObjectWithParams(&v)
}
AddInspectedHeapObject - Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
heapObjectId - Heap snapshot object id to be accessible by means of $x command line API.
package gcdapi
import (
	"encoding/json"
	"github.com/wirepair/gcd/gcdmessage"
)
type HeapProfilerSamplingHeapProfileNode struct {
	CallFrame *RuntimeCallFrame                      `json:"callFrame"`  
	SelfSize  float64                                `json:"selfSize"`   
	Id        int                                    `json:"id"`         
	Children  []*HeapProfilerSamplingHeapProfileNode `json:"children"`   
}
type HeapProfilerSamplingHeapProfileSample struct {
	Size    float64 `json:"size"`     
	NodeId  int     `json:"nodeId"`   
	Ordinal float64 `json:"ordinal"`  
}
type HeapProfilerSamplingHeapProfile struct {
	Head    *HeapProfilerSamplingHeapProfileNode     `json:"head"`     
	Samples []*HeapProfilerSamplingHeapProfileSample `json:"samples"`  
}
type HeapProfilerAddHeapSnapshotChunkEvent struct {
	Method string `json:"method"`
	Params struct {
		Chunk string `json:"chunk"`  
	} `json:"Params,omitempty"`
}
type HeapProfilerHeapStatsUpdateEvent struct {
	Method string `json:"method"`
	Params struct {
		StatsUpdate []int `json:"statsUpdate"`  
	} `json:"Params,omitempty"`
}
type HeapProfilerLastSeenObjectIdEvent struct {
	Method string `json:"method"`
	Params struct {
		LastSeenObjectId int     `json:"lastSeenObjectId"`  
		Timestamp        float64 `json:"timestamp"`         
	} `json:"Params,omitempty"`
}
type HeapProfilerReportHeapSnapshotProgressEvent struct {
	Method string `json:"method"`
	Params struct {
		Done     int  `json:"done"`                
		Total    int  `json:"total"`               
		Finished bool `json:"finished,omitempty"`  
	} `json:"Params,omitempty"`
}
type HeapProfiler struct {
	target gcdmessage.ChromeTargeter
}
func NewHeapProfiler(target gcdmessage.ChromeTargeter) *HeapProfiler {
	c := &HeapProfiler{target: target}
	return c
}
type HeapProfilerAddInspectedHeapObjectParams struct {
	HeapObjectId string `json:"heapObjectId"`
}
func (c *HeapProfiler) AddInspectedHeapObjectWithParams(v *HeapProfilerAddInspectedHeapObjectParams) (*gcdmessage.ChromeResponse, error) {
	return gcdmessage.SendDefaultRequest(c.target, c.target.GetSendCh(), &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "HeapProfiler.addInspectedHeapObject", Params: v})
}