microsoft / ConcordExtensibilitySamples

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

Dataset Visualizer not showing #26

Closed carlokok closed 8 years ago

carlokok commented 8 years ago

When writing a custom debugger the DataSet visualizer doesn't load and says:

There are no exceptions or errors in the debug output. Is there anything special needed to get that going?

plnelson commented 8 years ago

I tried it with the Iris sample and both the DataSet and WPF Tree visualizers are working. I don't think this is related to the sample, but I'm happy to help you diagnose what's going on. PM me on gitter and I'll take a look.

carlokok commented 8 years ago

That's very odd. We've managed to get things working by adding:

ClrCustomVisualizerVSHost: "{E82F32A8-074E-465A-86E5-D68A87284F61}"

under our registration to get things working (which Isis doesn't need for some reason)

plnelson commented 8 years ago

The entire design of UI visualizers is pretty counter-intuitive. I wasn't involved with the original design, but it appears the that intention was for each language to use it's own visualizer infrastructure. I don't see this happening though. You can "borrow" C#'s visualizer framework by setting the reg key you mention. It worked when I tested it because I used the visualizer from a C# stack frame. Iris doesn't support any types that would allow a custom visualizer.

I'm closing this issue because it's related to the design of the debugger rather than the sample.