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

feat: add returnValue as a Scope.presentationHint #484

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

connor4312
Copy link
Member

Closes #458

@connor4312 connor4312 enabled auto-merge (squash) June 28, 2024 23:06
@VSCodeTriageBot VSCodeTriageBot added this to the June 2024 milestone Jun 28, 2024
@connor4312 connor4312 merged commit 4d425df into main Jun 28, 2024
2 checks passed
@connor4312 connor4312 deleted the connor4312/issue458 branch June 28, 2024 23:08
"enumDescriptions": [
"Scope contains method arguments.",
"Scope contains local variables.",
"Scope contains registers. Only a single `registers` scope should be returned from a `scopes` request."
"Scope contains registers. Only a single `registers` scope should be returned from a `scopes` request.",
"Scope contains a return value. A scope of this kind should have a single child variable."
Copy link
Member

@gregg-miskelly gregg-miskelly Jun 28, 2024

Choose a reason for hiding this comment

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

I don't think the second part of the description makes sense -- there could be multiple return values active. Example:

If you step over:
A().B().C();

The C# and Microsoft C++ debugger will capture a return value from all three functions.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, will remove that wording

connor4312 added a commit that referenced this pull request Jul 1, 2024
Following up a comment on #484
connor4312 added a commit that referenced this pull request Jul 1, 2024
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.

Proposal: Add new reason finished or stepOut and optional field returnValue to Stopped Event
4 participants