microsoft / vscode-mono-debug

A simple VS Code debug adapter for mono
Other
159 stars 173 forks source link

List<string> shows view of raw object in the VS Code watch window #48

Open gregg-miskelly opened 5 years ago

gregg-miskelly commented 5 years ago

From @spassvogel on August 22, 2018 10:13

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.

Copied from original issue: OmniSharp/omnisharp-vscode#2470

gregg-miskelly commented 5 years ago

@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 commented 5 years ago

From @spassvogel on August 23, 2018 9:59

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...

spassvogel commented 5 years ago

Thanks gregg!