delve

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2020 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Terminal define terminal buffer name.
	Terminal nvimutil.BufferName = "terminal"
	// Context define context buffer name.
	Context nvimutil.BufferName = "context"
	// Threads define threads buffer name.
	Threads nvimutil.BufferName = "thread"
)

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, p *plugin.Plugin, buildContext *buildctxt.Context)

Register register nvim-go's delve command or function to Neovim over the msgpack-rpc plugin interface.

Types

type BufferContext

type BufferContext struct {
	// contains filtered or unexported fields
}

BufferContext represents a each debug information buffers.

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config represents a delve headless servers config.

type Delve

type Delve struct {
	Nvim *nvim.Nvim

	Locals []delveapi.Variable

	BufferContext
	SignContext
	// contains filtered or unexported fields
}

Delve represents a delve client.

func NewDelve

func NewDelve(ctx context.Context, n *nvim.Nvim, buildContext *buildctxt.Context) *Delve

NewDelve represents a delve client interface.

func (*Delve) FunctionsCompletion

func (d *Delve) FunctionsCompletion(v *nvim.Nvim) ([]string, error)

FunctionsCompletion return the debug target functions with filtering "main".

type SignContext

type SignContext struct {
	// contains filtered or unexported fields
}

SignContext represents a breakpoint and program counter sign.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL