Skip to content

service/dap: do not attempt further loading on unreadable string vars#4016

Merged
derekparker merged 1 commit into
go-delve:masterfrom
aarzilli:dapunreadablestr
Jun 5, 2025
Merged

service/dap: do not attempt further loading on unreadable string vars#4016
derekparker merged 1 commit into
go-delve:masterfrom
aarzilli:dapunreadablestr

Conversation

@aarzilli

Copy link
Copy Markdown
Member

Do not attempt further loading of unreadable string vars because their
Value field will be nil, causing a panic, and also it can't possibly
work.

Fixes #4010

Do not attempt further loading of unreadable string vars because their
Value field will be nil, causing a panic, and also it can't possibly
work.

Fixes go-delve#4010

@derekparker derekparker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekparker derekparker merged commit 7c9b7d8 into go-delve:master Jun 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

service/dap: telemetry report: panic with onEvaluateRequest

2 participants