debug

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseLinespec

func ParseLinespec(ctx context.Context, scope *ast.Scope, node ast.Node, linespec string) (ast.StopNode, error)

ParseLinespec returns an ast.StopNode that matches one of the location specifiers supported by linespec.

`<line>` Specifies the line *line* in the current file.

`+<offset>` Specifies the line *offset* lines after the current one.

`-<offset>` Specifies the line *offset* lines before the current one.

`<function>[:<line>] Specifies the line *line* inside *function* in the current file.

`<filename>:<line>` Specifies the line *line* in *filename*, *filename* can be the partial path to a file or even just the base name as long as the expression remains unambiguous.

`<filename>:<function>[:<line>] Specifies the line *line* inside *function* in *filename*, *filename* can be the partial path toa file or eve njust the base name as long as the expression remains unambiguous.

`/<regex>/` Specifies the location of all functions matching *regex*.

func TUIFrontend

func TUIFrontend(ctx context.Context, dbgr codegen.Debugger, is *steer.InputSteerer, stdin io.ReadCloser, stdout, stderr io.Writer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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