tl;dr: - Linux debugging works - macOS running works, debugging doesn't.
12 lines
398 B
Text
12 lines
398 B
Text
# Delve script: step into a plugin call, then try to leave it.
|
|
# Usage, from the repository root, after make all:
|
|
# go tool dlv exec ./cmd/demo --allow-non-terminal-interactive=true --init debug/macos-step.dlv
|
|
# demo.go:58 is the line calling the plugin, res := (*work)(n): update it if the file changes.
|
|
config source-list-line-count 0
|
|
break demo.go:58
|
|
continue
|
|
libraries
|
|
step
|
|
stepout
|
|
next
|
|
exit
|