1
0
Fork 0
go_plugin_demo/debug/macos-step.dlv
Frédéric G. MARAND be1f9236e0 Code and findings updated for go 1.27.3.
tl;dr:
- Linux debugging works
- macOS running works, debugging doesn't.
2026-11-02 17:17:20 +01:00

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