Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service/dap: use (*api.Variable).SinglelinesString() for dap.Variable values #2383

Merged
merged 4 commits into from
Mar 15, 2021

Conversation

polinasok
Copy link
Collaborator

@polinasok polinasok commented Mar 12, 2021

Take advantage of the function used with dlv cli locals command that inlines child values and can save users extra clicks to expand. Unlike <type> syntax used by vscode-go that inspired the first version of dap code, dlv cli's (*type)(address) syntax can be used as an expression to load variables that have not been fully loaded.

Updates golang/vscode-go#1267

@polinasok
Copy link
Collaborator Author

The only test failing (TestContinueUntil) is not a dap test.

Copy link
Member

@aarzilli aarzilli left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants