1
0
Fork 0
go_plugin_demo/debug/linux-plugin.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

14 lines
355 B
Text

# Delve script: break and inspect inside a plugin.
# Usage: see VERIFICATION.md, section 4, for the container command.
# demo.go:58 calls the plugin; foo.go:19 is the plugin's Work body: update them if the files change.
config source-list-line-count 0
break demo.go:58
continue
libraries
break foo.go:19
continue
print n
print InternalName
bt 3
step
exit