Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Object DumperNew to Visual Studio Code? Get it now.

Object Dumper

Yevhen Cherkes

|
176 installs
| (3) | Free
Object Dumper is an open source Visual Studio Code and Visual Studio extension for exporting in-memory objects during debugging to C#, JSON, VB, XML, and YAML string.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Made in Ukraine Stand with the people of Ukraine: How to Help

Object Dumper

marketplace installs License: MIT

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.

Presentation

Configurable:

image

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

Repository License
ILRepack Apache-2.0
Json.NET MIT
VarDump Apache-2.0
YamlDotNet MIT

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.

PayPal

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.

All Products Pack logo.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft