Object Dumper for Visual Studio CodeObject Dumper is a Visual Studio Code extension for exporting live .NET objects during debugging into reusable C#, Visual Basic, JSON, XML, or YAML representations. Instead of manually expanding a complex object graph and copying debugger values one by one, select an expression in the editor while paused at a breakpoint, choose Dump As, and Object Dumper opens the generated representation in a separate editor document. The extension also works in GitHub Codespaces. Object Dumper is also available for Visual Studio and JetBrains Rider. Inspired by ObjectExporter.
FeaturesDump objects in multiple formats
Generate reusable code from runtime objectsC# and Visual Basic output is powered by VarDump. See the VarDump documentation for supported formatting and traversal options. Typical use cases include:
Dump behavior and available formats can be configured by opening Settings and searching for Object Dumper. InstallationInstall Object Dumper from the Visual Studio Marketplace, or install it from VS Code:
UsageObject Dumper commands are available while debugging a C# or F# project.
Keyboard shortcuts
The commands are only enabled during a supported debugging session. ConfigurationConfigure dump behavior by opening Settings and searching for:
or edit your Common settings
C# and Visual Basic settings use the ChangelogSee the project changelog for release details and migration guidance. Requirements and known restrictions
Object Dumper commands are exposed from the editor context menu, not from the Variables/Watch context menu. GitHub CodespacesObject Dumper can be used in GitHub Codespaces as long as the active debugging scenario satisfies the extension's supported .NET requirements. PrivacyObject Dumper does not collect personal data. Debugger interaction and serialization happen as part of your local or Codespaces debugging session. Powered by
ContributingContributions, bug reports, and feature requests are welcome. Support the projectIf Object Dumper saves you time, you can support its continued development through: LicenseObject Dumper is licensed under the MIT License. |



