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:
Selecting "MsgPack Visualizer" pops up a window showing the decoded MsgPack data.
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)
-
Download the latest release, or build from source
-
Copy both
MsgPackVisualizer.dllandDasher.dllto either%USERPROFILE%\Documents\Visual Studio 2017\Visualizers
or
VisualStudioInstallPath\Common7\Packages\Debugger\Visualizers
-
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:
Check out Plast's similar VS Debugger Visualiser for native debugging:
Read more about creating Visual Studio visualisers:

