An open API service indexing awesome lists of open source software.

https://github.com/drewnoakes/msgpack-vs-visualiser-dotnet

Visual Studio Debugger Visualizer for MsgPack encoded byte arrays
https://github.com/drewnoakes/msgpack-vs-visualiser-dotnet

debugger-visualizer debugging dotnet messagepack msgpack visual-studio

Last synced: about 1 month ago
JSON representation

Visual Studio Debugger Visualizer for MsgPack encoded byte arrays

Awesome Lists containing this project

README

          

# MsgPack Debugger Visualizer for Visual Studio

Displays a decoded view of MsgPack data from byte arrays when debugging in Visual Studio.

## Usage

When paused in the debugger, select an instance of `byte[]` and launch a visualiser:

![](Images/launching-visualizer.png)

Selecting _"MsgPack Visualizer"_ pops up a window showing the decoded MsgPack data.

![](Images/msgpack-visualizer.png)

This window is modal and debugging may only continue once the window is closed.

## Installation

(Notes apply to Visual Studio 2017, but are similar for earlier versions)

1. [Download the latest release](https://github.com/drewnoakes/msgpack-vs-visualiser-dotnet/releases/latest), or build from source

2. Copy both `MsgPackVisualizer.dll` and `Dasher.dll` to either

> %USERPROFILE%\Documents\Visual Studio 2017\Visualizers

or

> _VisualStudioInstallPath_\Common7\Packages\Debugger\Visualizers

3. Restart the debugging session (you don't have to restart Visual Studio)

## Earlier Visual Studio Versions

You can target earlier versions of Visual Studio by updating the assembly references for
`Microsoft.VisualStudio.DebuggerVisualizers.dll` to the relevant version.

## License

THE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES INTENDED OR IMPLIED. USE AT YOUR OWN RISK!

## Links

This project uses Dasher for fast MsgPack packing and unpacking:

- https://github.com/point-platform/dasher

Check out Plast's similar VS Debugger Visualiser for native debugging:

- https://github.com/Flast/msgpack-vs-visualizer

Read more about creating Visual Studio visualisers:

- https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-visualizers-of-data