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

Debugger to support $ReturnValue #859

Closed
jchannon opened this issue Nov 1, 2016 · 5 comments
Closed

Debugger to support $ReturnValue #859

jchannon opened this issue Nov 1, 2016 · 5 comments

Comments

@jchannon
Copy link
Contributor

jchannon commented Nov 1, 2016

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-preview2-003131)

Product Information:
 Version:            1.0.0-preview2-003131
 Commit SHA-1 hash:  635cf40e58

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.11
 OS Platform: Darwin
 RID:         osx.10.11-x64

VS Code version:1.6.1
C# Extension version:1.4.1

Steps to reproduce

Debug a method that returns a statement eg/ return Foo();

Expected behavior

Debugger watch command to show value returned via $ReturnValue value

Actual behavior

$ReturnValue not defined.

$ReturnValue is a variable available in Visual Studio that shows returned values from methods in the immediate/watch window. Would be nice to have the same in VSCode

@gregg-miskelly
Copy link
Contributor

Hmm... I am not quite sure why this doesn't work. We will have to look into this.

@code1line
Copy link

Any news on this issue?

@lijunle
Copy link

lijunle commented Jan 7, 2019

Still an issue on new year!

@gregg-miskelly
Copy link
Contributor

Fixed in 1.21

@gregg-miskelly
Copy link
Contributor

Sorry, I think this was actually fixed in 1.18, but was incorrectly left open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants