tl;dr: - Linux debugging works - macOS running works, debugging doesn't.
14 lines
385 B
Text
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
|