Object Dumper

A Visual Studio Code and Visual Studio extension for exporting in-memory objects during debugging to C# Object Initialization Code, JSON, Visual Basic Object Initialization Code, XML, and YAML string.
Inspired by ObjectExporter.
"Dump as" commands are available via context menu in the Code window only.
The result is shown in a separate document window.

Configurable:

Known restrictions:
- C# and F# project languages are currently supported only.
- netstandard 2.0+, netcore3.1+, netframework is not supported yet.
- the debugging code mustn't be optimized so the Expression Evaluator can be run.
- local debugging only.
- it doesn't work for UWP applications, because UAP doesn't support Assembly.LoadFrom. You can bypass this restriction by referencing the .nestandard20 version of Serialization lib and calling:
_ = ObjectSerializer.Serialize(null, "cs");
for loading the serializer into executing assembly. Example
Privacy Notice: No personal data is collected at all.
Powered By
This tool has been working well for my own personal needs, but outside that its future depends on your feedback. Feel free to open an issue.

Any donations during this time will be directed to local charities at my own discretion.
Acknowledgments
Thanks to JetBrains for providing an OSS development license of All Products Pack.
