1
0
Fork 0
go_plugin_demo/debug/lookup.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
385 B
Text

# Delve script: inspect a plugin.Lookup result before and after its type assertion.
# Usage: same command as debug/macos-step.dlv or debug/linux-plugin.dlv, with this file.
# demo.go:50 is the line after p.Lookup(symbolWork): update it if the file changes.
config source-list-line-count 0
break demo.go:50
continue
print workSymbol
print err
next
next
next
print work
print *work
exit