Skip to content

short for "Variable Voyager" , a Go debugger that allows code modification during a session

License

Notifications You must be signed in to change notification settings

emicklei/varvoy

Repository files navigation

varvoy

varvoy is short for "Variable Voyager"

A Go debugger.

It is build on top of two awesome packages:

status

Work in progress:

  • todebug/withimports and todebug/hello can be debugged.

features

  • works with the vscode-go extension of Microsoft Visual Studio Code
  • imports generated stubs for required Go modules

goal

  • handle code modification during debugging session
  • evaluate expression in a debugger session
  • restart from stack frame

install

go install github.com/emicklei/varvoy/cmd/varvoy@latest

configure

In settings.json of the Go VSCode plugin, set an alternative to dlv. Use which varvoy to find the absolute path.

    "go.alternateTools": {
        "dlv": "/Users/emicklei/go/bin/varvoy"
    }

design

See Desgin

current limitations

  • no Windows support for now
  • project must have a go.mod
  • go mod file cannot have replace

About

short for "Variable Voyager" , a Go debugger that allows code modification during a session

Resources

License

Stars

Watchers

Forks

Packages

No packages published