// NewClient creates a new client and attaches it to a local gosh-debug server.
NewClient creates a new client and attaches it to a local gosh-debug server.
// NewClient creates a new client and attaches it to a local gosh - debug server .
func NewClient() (*Client, error) {
	cc, err := ipc.StartClient("goshdebug", nil)
	if err != nil {
		return nil, &LaunchError{err}
	}
	c := &Client{cc, make(chan *dMsg, cBufSize), false}
	go c.readLoop()
	go c.writeLoop()
	return c, nil
}
func NewClient ( ) ( * Client , error ) { cc , err := ipc . StartClient ( " " , nil ) if err != nil { return nil , & LaunchError { err } } c := & Client { cc , make ( chan * dMsg , cBufSize ) , false } go c . readLoop ( ) go c . writeLoop ( ) return c , nil }
NewClient creates a new client and attaches it to a local gosh-debug server.
NewClient creates a new client and attaches it to a local gosh - debug server .