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

Mono debugging: List<string> shows view of raw object in the VS Code watch window #2470

Closed
spassvogel opened this issue Aug 22, 2018 · 4 comments

Comments

@spassvogel
Copy link

I think the formatting of collections in the debug watch window can use a lot of improvement. Compare how visual studio code currently handles a list of String.

image

Whereas in Visual Studio the quick watch feature was much more useful:

image

In general, I am mostly interested in the values in the collection, which I have to dig down four levels of hierarchy in vscode and is quite obfuscated.

@gregg-miskelly
Copy link
Contributor

@spassvogel Are you debugging Mono, .NET Core or .NET Desktop?

If .NET Core or desktop - what version of .NET Core/Desktop are you targeting? What OS are you on? Can you reproduce this problem in 'Hello World'? If not, do you have a project you can share?

@gregg-miskelly gregg-miskelly changed the title Feature request: Formatting of collections in watch window List<string> shows view of raw object in the VS Code watch window Aug 22, 2018
@spassvogel
Copy link
Author

I'm on Windows 10. I'm experiencing this whilst debugging Unity3d, so that's Mono I suppose, right? I'm seeing the same in Visual Studio Code 1.25 and Visual Studio Code - Insiders 1.27

image

image

Let me see if I can create an isolated Hello world. I was kind of under the impression that this was not a bug, but just the way VS code (or omnisharp?) was written...

@gregg-miskelly
Copy link
Contributor

Thanks. If you were seeing this with .NET Core/Desktop - it would be a bug. Since you are seeing this in Mono debugger, this probably is a feature request. But not to this extension - the mono debugger isn't from this extension. I will see if I can find your issue a home.

@gregg-miskelly
Copy link
Contributor

This issue was moved to microsoft/vscode-mono-debug#48

@gregg-miskelly gregg-miskelly changed the title List<string> shows view of raw object in the VS Code watch window Mono debugging: List<string> shows view of raw object in the VS Code watch window Aug 23, 2018
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

2 participants