microsoft / ConcordExtensibilitySamples

Visual Studio Debug Engine Extensibility Samples
Other
121 stars 50 forks source link

New Custom Visualizer Sample #87

Closed xisui-MSFT closed 1 year ago

xisui-MSFT commented 1 year ago

A custom visualizer sample. I copied the project structure from CppCustomVisualizer and didn't change some of the GUID. Please let me know if you think changing all GUID necessary.

This sample visualizes a struct like:

struct Sample
{
    std::vector<int> a;
    std::vector<int> b;
};

Sample sample;

which is by default visualized with a format similar to:

sample
-- a
---- a[0]
---- a[1]
---- ...
-- b
---- b[0]
---- b[1]
---- ...

as an array like:

struct Temp
{
    int a;
    int b;
}

std::vector<Temp> sample;

which has a format similar to:

sample
-- sample[0]
---- a
---- b
-- sample[1]
---- a
---- b
...
xisui-MSFT commented 1 year ago

The build errors don't seem to be related to my changes

WardenGnaw commented 1 year ago

The build errors don't seem to be related to my changes

I'll take a look at fixing it so we can have an actual build of your changes.

WardenGnaw commented 1 year ago

@xisui-MSFT Can you rebase ontop of https://github.com/microsoft/ConcordExtensibilitySamples/commit/3cdc705a5fee5765551ea452ddef07237abfde26 for the builds to work?

xisui-MSFT commented 1 year ago

@WardenGnaw @gregg-miskelly @mpeyrotc Not sure why when I request for a review, all other requests are cancelled... So ping using this comment...