locked
List and invoke DebugVisualizers from VSIP extension RRS feed

  • Question

  • Hi,

    I'd like to list the available DebugVisualizers (custom and standard ones) for a given type and afterwards invoke one of them, all from my extension. So far I couldn't find anything in the SDK to help me to do so. Is there a way?

    Thank you,
    Vitaly


    Wednesday, September 14, 2011 5:55 AM

Answers

  • Hi Vitaly,

    I had another customer inquire about this a year to so back, and we found that there was no functionality exposed by the debugger that would allow you to programatically invoke the visualizers. If by chance you can get ahold of an IDebugProperty3 interface for a given object, you can retrieve some of the details for the list of applicable visualizers (DEBUG_CUSTOM_VIEWER), but there isn't any mechanism exposed that will let you programatically invoke the visualizer.

    Currently, these interfaces are pretty much in the domain of the debug engine and expression evaluator implementation, meaning they are used to implement the DE/EE, but they are not meant to expose the DE/EE to additional extensibility scenarios.

    Sincerely,


    Ed Dore
    Wednesday, September 14, 2011 5:18 PM