Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visualized expression in custom data visualizer

When I choose one of the built-in visualizers:

Choosing a visualizer

I can see the original expression being visualized:

Text visualizer, with circled visualized expression

How can I get this information from within my own custom visualizer?

I've looked through the API reference, without finding anything.

(If you haven't found an answer, please upvote the request to support this on Developer Community.)

Update

The linked Developer Community request has been closed for reasons.

like image 409
Zev Spitz Avatar asked Feb 18 '19 14:02

Zev Spitz


People also ask

How do I see registers in Visual Studio?

To open the Registers window Enable address-level debugging, by selecting Enable address-level debugging in Tools (or Debug) > Options > Debugging.


1 Answers

Because you were interested in a hyperlink, I searched my email archive and found a mail from February 04, 2006 (well, this is bit more than 'a few years ago'):

My question was:

... I also would like to know how the Visualizers provided by VS2005 manage to display the expression (topmost textbox in the Visualizer form).

And the answer:

... The reason the string visualizers can display the original expression is that they are built into Visual Studio at a lower level than the Visualizers interface we provide. They are written in native code and work when debugging native code, while the visualizers architecture we provide is limited to managed code.

Sorry! Let me know if you have any more questions.

Scott Nonnenberg Program Manager Visual C# Team

This was on http://blogs.msdn.com/scottno/default.aspx but I think Scott is no longer a Microsoft employee and the posting won't be available online...

like image 71
frank koch Avatar answered Nov 15 '22 03:11

frank koch